make GetMainAndSubTitlesFromFullTitle static

This commit is contained in:
Glenn Maynard
2002-12-13 22:07:32 +00:00
parent ac55639422
commit ef2b3d18eb
2 changed files with 4 additions and 2 deletions
+2
View File
@@ -1,7 +1,9 @@
#include "stdafx.h" #include "stdafx.h"
#include "NotesLoader.h" #include "NotesLoader.h"
#include "NoteTypes.h" #include "NoteTypes.h"
#include "NoteData.h"
#include "GameManager.h" #include "GameManager.h"
#include "RageUtil.h"
bool NotesLoader::Loadable( CString sPath ) bool NotesLoader::Loadable( CString sPath )
{ {
+2 -2
View File
@@ -1,7 +1,7 @@
#ifndef NOTES_LOADER_H #ifndef NOTES_LOADER_H
#define NOTES_LOADER_H #define NOTES_LOADER_H
#include "song.h" #include "Song.h"
typedef int DanceNote; typedef int DanceNote;
enum { enum {
@@ -23,7 +23,7 @@ enum {
class NotesLoader { class NotesLoader {
protected: protected:
virtual void GetApplicableFiles( CString sPath, CStringArray &out )=0; virtual void GetApplicableFiles( CString sPath, CStringArray &out )=0;
void GetMainAndSubTitlesFromFullTitle( const CString sFullTitle, CString &sMainTitleOut, CString &sSubTitleOut ); static void GetMainAndSubTitlesFromFullTitle( const CString sFullTitle, CString &sMainTitleOut, CString &sSubTitleOut );
public: public:
virtual bool LoadFromDir( CString sPath, Song &out ) = 0; virtual bool LoadFromDir( CString sPath, Song &out ) = 0;