Make static, nonmember functions.
This commit is contained in:
@@ -36,7 +36,7 @@ static RString BackgroundChangeToString( const BackgroundChange &bgc )
|
||||
return s;
|
||||
}
|
||||
|
||||
void NotesWriterSM::WriteGlobalTags( RageFile &f, const Song &out )
|
||||
static void WriteGlobalTags( RageFile &f, const Song &out )
|
||||
{
|
||||
f.PutLine( ssprintf( "#TITLE:%s;", out.m_sMainTitle.c_str() ) );
|
||||
f.PutLine( ssprintf( "#SUBTITLE:%s;", out.m_sSubTitle.c_str() ) );
|
||||
@@ -159,7 +159,7 @@ static RString JoinLineList( vector<RString> &lines )
|
||||
return join( "\r\n", lines.begin()+j, lines.end() );
|
||||
}
|
||||
|
||||
RString NotesWriterSM::GetSMNotesTag( const Song &song, const Steps &in, bool bSavingCache )
|
||||
static RString GetSMNotesTag( const Song &song, const Steps &in, bool bSavingCache )
|
||||
{
|
||||
vector<RString> lines;
|
||||
|
||||
|
||||
@@ -8,9 +8,6 @@ class Steps;
|
||||
class RageFile;
|
||||
class NotesWriterSM
|
||||
{
|
||||
void WriteGlobalTags( RageFile &f, const Song &out );
|
||||
static RString GetSMNotesTag( const Song &song, const Steps &in, bool bSavingCache );
|
||||
|
||||
public:
|
||||
bool Write( RString sPath, const Song &out, bool bSavingCache );
|
||||
static void GetEditFileContents( const Song *pSong, const Steps *pSteps, RString &sOut );
|
||||
|
||||
Reference in New Issue
Block a user