Make static, nonmember functions.

This commit is contained in:
Steve Checkoway
2006-11-04 23:23:41 +00:00
parent af8c5e7df9
commit 4ab88447f4
2 changed files with 2 additions and 5 deletions
+2 -2
View File
@@ -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;
-3
View File
@@ -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 );