NotesLoader is just a namespace. If you want to load a particular directory, there's no need to create a specialized loader, just call NotesLoader::LoadFromDir().

This commit is contained in:
Steve Checkoway
2007-02-14 12:26:36 +00:00
parent c827907980
commit 61ae8c3c1b
9 changed files with 56 additions and 84 deletions
+5 -7
View File
@@ -3,17 +3,15 @@
#ifndef NOTES_LOADER_DWI_H
#define NOTES_LOADER_DWI_H
#include "GameInput.h"
#include "NotesLoader.h"
#include <set>
class Song;
class DWILoader: public NotesLoader
namespace DWILoader
{
public:
static void GetApplicableFiles( const RString &sPath, vector<RString> &out );
bool LoadFromDir( const RString &sPath, Song &out );
};
void GetApplicableFiles( const RString &sPath, vector<RString> &out );
bool LoadFromDir( const RString &sPath, Song &out, set<RString> &BlacklistedImages );
}
#endif