00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #ifndef GCONFMM_SET_INTERFACE_H
00022 #define GCONFMM_SET_INTERFACE_H
00023 #include <gconfmm/value.h>
00024
00025 namespace Gnome
00026 {
00027 namespace Conf
00028 {
00029
00041 class SetInterface
00042 {
00043 public:
00044 virtual void set(const Glib::ustring& key,const Value& value) = 0;
00045 virtual void set(const Glib::ustring& key,bool what) = 0;
00046 virtual void set(const Glib::ustring& key,int what) = 0;
00047 virtual void set(const Glib::ustring& key,double what) = 0;
00048 virtual void set(const Glib::ustring& key,const Glib::ustring& what) = 0;
00049 virtual void set(const Glib::ustring& key,const Schema& what) = 0;
00050
00051 void set(const Glib::ustring& key,const ValuePair& pair);
00052
00053 void set_int_list(const Glib::ustring& key,const SListHandle_ValueInt& list);
00054 void set_bool_list(const Glib::ustring& key,const SListHandle_ValueBool& list);
00055 void set_float_list(const Glib::ustring& key,const SListHandle_ValueFloat& list);
00056 void set_string_list(const Glib::ustring& key,const SListHandle_ValueString& list);
00057 void set_schema_list(const Glib::ustring& key,const SListHandle_ValueSchema& list);
00058 };
00059
00060 }
00061 }
00062
00063 #endif