diff options
author | Mike Buland <eichlan@xagasoft.com> | 2012-08-24 22:28:24 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2012-08-24 22:28:24 +0000 |
commit | 3c38c55a26df5b2d8827b88a99f5bb996c4d13c2 (patch) | |
tree | 1a28e7c740638760dd55f71ec8ebd66d19a7ad3d /src/unstable/settingsdriverregistry.h | |
parent | d7d2c0929a5d7871e913451fd542e03ae4561183 (diff) | |
download | libbu++-3c38c55a26df5b2d8827b88a99f5bb996c4d13c2.tar.gz libbu++-3c38c55a26df5b2d8827b88a99f5bb996c4d13c2.tar.bz2 libbu++-3c38c55a26df5b2d8827b88a99f5bb996c4d13c2.tar.xz libbu++-3c38c55a26df5b2d8827b88a99f5bb996c4d13c2.zip |
The basic registry interface works now.
Diffstat (limited to 'src/unstable/settingsdriverregistry.h')
-rw-r--r-- | src/unstable/settingsdriverregistry.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/src/unstable/settingsdriverregistry.h b/src/unstable/settingsdriverregistry.h new file mode 100644 index 0000000..2d718d2 --- /dev/null +++ b/src/unstable/settingsdriverregistry.h | |||
@@ -0,0 +1,28 @@ | |||
1 | #ifndef BU_SETTINGS_DRIVER_REGISTRY_H | ||
2 | #define BU_SETTINGS_DRIVER_REGISTRY_H | ||
3 | |||
4 | #ifdef WIN32 | ||
5 | |||
6 | #include "bu/settingsdriver.h" | ||
7 | |||
8 | namespace Bu | ||
9 | { | ||
10 | class SettingsDriverRegistry : public SettingsDriver | ||
11 | { | ||
12 | public: | ||
13 | SettingsDriverRegistry(); | ||
14 | virtual ~SettingsDriverRegistry(); | ||
15 | |||
16 | protected: | ||
17 | virtual void init( const Bu::UtfString &sCompany, const Bu::UtfString &sProduct ); | ||
18 | virtual void set( const Bu::UtfString &sKey, const Bu::UtfString &sValue ); | ||
19 | virtual Bu::UtfString get( const Bu::UtfString &sKey, const Bu::UtfString &sValue ); | ||
20 | |||
21 | private: | ||
22 | void *rphKey; | ||
23 | }; | ||
24 | }; | ||
25 | |||
26 | #endif | ||
27 | |||
28 | #endif | ||