|
Rapicorn - Experimental UI Toolkit - Source Code 10.08.1
|
00001 // Licensed GNU LGPL v3 or later: http://www.gnu.org/licenses/lgpl.html 00002 #ifndef __RAPICORN_APPLICATION_HH__ 00003 #define __RAPICORN_APPLICATION_HH__ 00004 00005 #include <ui/commands.hh> 00006 00007 namespace Rapicorn { 00008 00009 class ApplicationImpl : public ApplicationIface { 00010 vector<Wind0wIface*> m_wind0ws; 00011 public: 00012 virtual String auto_path (const String &file_name, 00013 const String &binary_path, 00014 bool search_vpath = true); 00015 virtual StringList auto_load (const std::string &defs_domain, 00016 const std::string &file_name, 00017 const std::string &binary_path, 00018 const std::string &i18n_domain = ""); 00019 virtual void load_string (const std::string &xml_string, 00020 const std::string &i18n_domain = ""); 00021 virtual Wind0wIface* create_wind0w (const std::string &wind0w_identifier, 00022 const StringList &arguments = StringList(), 00023 const StringList &env_variables = StringList()); 00024 void add_wind0w (Wind0wIface &wind0w); 00025 bool remove_wind0w (Wind0wIface &wind0w); 00026 virtual Wind0wList list_wind0ws (); 00027 virtual ItemIface* unique_component (const String &path); 00028 virtual ItemSeq collect_components (const String &path); 00029 virtual ListModelRelayIface* create_list_model_relay (int n_columns, 00030 const std::string &name = ""); 00031 virtual void test_counter_set (int val); 00032 virtual void test_counter_add (int val); 00033 virtual int test_counter_get (); 00034 virtual int test_counter_inc_fetch (); 00035 void lost_primaries (); 00036 static ApplicationImpl& the (); 00037 }; 00038 00039 } // Rapicorn 00040 00041 #endif /* __RAPICORN_APPLICATION_HH__ */
1.7.4