// SPDX-FileCopyrightText: 2026 Reactorcoremeltdown // SPDX-License-Identifier: GPL-3.0-or-later #import "SizzleSession.h" NS_ASSUME_NONNULL_BEGIN /// API the Setup screen needs beyond SizzleSession.h. @interface SizzleSession (Setup) /// Whether [text] is a Sizzle project (.szg): its first non-blank line is the /// "SIZZLETRACKER-SNG 1" header ProjectIo writes. ProjectIo itself skips bad lines /// one by one, so any text would "load" as an empty song without this check. + (BOOL)looksLikeProjectText:(NSString *)text; /// Replace the open song with a project file's contents (Import project), after /// checking it looks like one; the song keeps the name stored in the file. - (BOOL)importProjectText:(NSString *)text error:(NSError **)error; @end NS_ASSUME_NONNULL_END