#ifndef NOTES_LOADER_DWI_H #define NOTES_LOADER_DWI_H #include "Song.h" #include "Notes.h" #include "GameInput.h" #include "NotesLoader.h" #include "Song.h" #include "Notes.h" /* Return NA if no files in the directory can be loaded by * this loader, OK on success, ERROR if an applicable file was found * but there was a fatal error loading. (ERROR not used yet--we * always throw.) */ class DWILoader: public NotesLoader { void DWIcharToNote( char c, GameController i, DanceNote ¬e1Out, DanceNote ¬e2Out ); bool LoadFromDWITokens( CString sMode, CString sDescription, CString sNumFeet, CString sStepData1, CString sStepData2, Notes &out ); bool LoadFromDWIFile( CString sPath, Song &out ); public: void GetApplicableFiles( CString sPath, CStringArray &out ); bool Loadable( CString sPath ); bool LoadFromDir( CString sPath, Song &out ); }; #endif