Etterna 0.74.4
Loading...
Searching...
No Matches
NotesWriterSM.h
1#ifndef NOTES_WRITER_SM_H
2#define NOTES_WRITER_SM_H
3
4class Song;
5class Steps;
6
8namespace NotesWriterSM {
14bool
15Write(const std::string& sPath, Song& out, const std::vector<Steps*>& vpStepsToSave);
22void
23GetEditFileContents(const Song* pSong, const Steps* pSteps, std::string& sOut);
29std::string
30GetEditFileName(const Song* pSong, const Steps* pSteps);
37bool
39 Steps* pSteps,
40 std::string& sErrorOut);
41}
42
43#endif
Holds all music metadata and steps for one song.
Definition Song.h:65
Holds note information for a Song.
Definition Steps.h:42
Writes a Song to an .SM file.
Definition NotesWriterSM.h:8
std::string GetEditFileName(const Song *pSong, const Steps *pSteps)
Get the name of the edit file to use.
Definition NotesWriterSM.cpp:302
void GetEditFileContents(const Song *pSong, const Steps *pSteps, std::string &sOut)
Get some contents about the edit file first.
Definition NotesWriterSM.cpp:285
bool WriteEditFileToMachine(const Song *pSong, Steps *pSteps, std::string &sErrorOut)
Write the edit file to the machine for future use.
bool Write(const std::string &sPath, Song &out, const std::vector< Steps * > &vpStepsToSave)
Write the song out to a file.
Definition NotesWriterSM.cpp:255