From 4ab88447f49fdbbc86927d1be08075978a8b57e4 Mon Sep 17 00:00:00 2001 From: Steve Checkoway Date: Sat, 4 Nov 2006 23:23:41 +0000 Subject: [PATCH] Make static, nonmember functions. --- stepmania/src/NotesWriterSM.cpp | 4 ++-- stepmania/src/NotesWriterSM.h | 3 --- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/stepmania/src/NotesWriterSM.cpp b/stepmania/src/NotesWriterSM.cpp index 11c011d46c..6a4c6afdb4 100644 --- a/stepmania/src/NotesWriterSM.cpp +++ b/stepmania/src/NotesWriterSM.cpp @@ -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 &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 lines; diff --git a/stepmania/src/NotesWriterSM.h b/stepmania/src/NotesWriterSM.h index 82a8bc1e7d..bfb11d5303 100644 --- a/stepmania/src/NotesWriterSM.h +++ b/stepmania/src/NotesWriterSM.h @@ -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 );