1 #ifndef __gnomesettingsstore_h__
2 #define __gnomesettingsstore_h__
6 #include <gconf/gconf.h>
7 #include <gconf/gconf-client.h>
8 #include <gconf/gconf-enum-types.h>
10 #include "SettingsStore.h"
14 class CGnomeSettingsStore
:public CSettingsStore
{
16 CGnomeSettingsStore(Dasher::CEventHandler
* pEventHandler
);
17 ~CGnomeSettingsStore();
19 void NotificationCallback(GConfClient
* pClient
, guint iCNXN_ID
, GConfEntry
* pEntry
);
22 bool LoadSetting(const std::string
& Key
, bool * Value
);
23 bool LoadSetting(const std::string
& Key
, long *Value
);
24 bool LoadSetting(const std::string
& Key
, std::string
* Value
);
26 void SaveSetting(const std::string
& Key
, bool Value
);
27 void SaveSetting(const std::string
& Key
, long Value
);
28 void SaveSetting(const std::string
& Key
, const std::string
& Value
);
30 GConfClient
*the_gconf_client
;
31 GConfEngine
*gconfengine
;