00001 /* 00002 $Id: resourceoptions.h,v 1.4 2001/03/04 17:54:47 mbn Exp $ 00003 00004 ------------------------------------------------------------------------ 00005 ClanLib, the platform independent game SDK. 00006 00007 This library is distributed under the GNU LIBRARY GENERAL PUBLIC LICENSE 00008 version 2. See COPYING for details. 00009 00010 For a total list of contributers see CREDITS. 00011 00012 ------------------------------------------------------------------------ 00013 */ 00014 00016 00017 #ifndef header_resourceoptions 00018 #define header_resourceoptions 00019 00020 #include <list> 00021 #include <string> 00022 00023 class CL_ResourceManager; 00024 class CL_ResourceOption; 00025 00026 class CL_ResourceOptions 00027 { 00028 public: 00029 CL_ResourceOptions(CL_ResourceManager *parent); 00030 ~CL_ResourceOptions(); 00031 00032 std::list<CL_ResourceOption*> *get_options(); 00033 00034 void add(CL_ResourceOption *option); 00035 std::string get_value(std::string option); 00036 CL_ResourceOption *get_option(std::string option); 00037 bool exists(std::string option); 00038 00039 private: 00040 std::list<CL_ResourceOption*> options; 00041 CL_ResourceManager *parent; 00042 }; 00043 00044 #endif
1.2.6 written by Dimitri van Heesch,
© 1997-2001