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

SongCacheIndex.h

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

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