00001 /* 00002 * robpackage.h 00003 * 00004 * Copyright (c) 2000-2004 by Florian Fischer (florianfischer@gmx.de) 00005 * and Martin Trautmann (martintrautmann@gmx.de) 00006 * 00007 * This file may be distributed and/or modified under the terms of the 00008 * GNU General Public License version 2 as published by the Free Software 00009 * Foundation. 00010 * 00011 * This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 00012 * WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 00013 * 00014 */ 00015 00020 #ifndef __RT_ROBPACKAGE_H__ 00021 #define __RT_ROBPACKAGE_H__ 00022 00023 #include <rtstring.h> 00024 00025 namespace rt { 00026 00027 // Should be called at startup, after lrt was initialized! 00028 void initPackage(); 00029 00030 // Search for an option set 00031 // "file" may be an absolute path and file name, but will normally be just a file name (without path) 00032 // For option sets, ressources are allowed too. 00033 lrt::String findOptionSet(const lrt::String& file); 00034 00035 // The sound finding is done by lrt::Sound itself. 00036 //lrt::String findSound(const lrt::String& baseName); 00037 00038 // "file" may be an absolute path and file name, but will normally be just a file name (without path) 00039 lrt::String findHelpFile(const lrt::String& file); 00040 00041 00042 00043 } // namespace 00044 00045 #endif // file