Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members

NotesLoaderKSF.h

Go to the documentation of this file.
00001 /* KSFLoader - reads a Song from a .KSF file. */ 00002 00003 #ifndef NOTES_LOADER_KSF_H 00004 #define NOTES_LOADER_KSF_H 00005 00006 #include "song.h" 00007 #include "Steps.h" 00008 #include "NotesLoader.h" 00009 00010 class KSFLoader: public NotesLoader 00011 { 00012 bool LoadFromKSFFile( const CString &sPath, Steps &out, const Song &song ); 00013 bool LoadGlobalData( const CString &sPath, Song &out ); 00014 void RemoveHoles( NoteData &out, const Song &song ); 00015 void LoadTags( const CString &str, Song &out ); 00016 00017 public: 00018 void GetApplicableFiles( CString sPath, CStringArray &out ); 00019 bool LoadFromDir( CString sDir, Song &out ); 00020 00021 }; 00022 00023 #endif 00024 00025 /* 00026 * (c) 2001-2004 Chris Danford, Glenn Maynard 00027 * All rights reserved. 00028 * 00029 * Permission is hereby granted, free of charge, to any person obtaining a 00030 * copy of this software and associated documentation files (the 00031 * "Software"), to deal in the Software without restriction, including 00032 * without limitation the rights to use, copy, modify, merge, publish, 00033 * distribute, and/or sell copies of the Software, and to permit persons to 00034 * whom the Software is furnished to do so, provided that the above 00035 * copyright notice(s) and this permission notice appear in all copies of 00036 * the Software and that both the above copyright notice(s) and this 00037 * permission notice appear in supporting documentation. 00038 * 00039 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 00040 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 00041 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF 00042 * THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS 00043 * INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT 00044 * OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS 00045 * OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR 00046 * OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 00047 * PERFORMANCE OF THIS SOFTWARE. 00048 */

Generated on Thu Jan 27 20:57:26 2005 for StepMania by doxygen 1.3.7