summaryrefslogtreecommitdiff
path: root/src/unstable/settings.cpp
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2012-08-24 22:28:24 +0000
committerMike Buland <eichlan@xagasoft.com>2012-08-24 22:28:24 +0000
commit3c38c55a26df5b2d8827b88a99f5bb996c4d13c2 (patch)
tree1a28e7c740638760dd55f71ec8ebd66d19a7ad3d /src/unstable/settings.cpp
parentd7d2c0929a5d7871e913451fd542e03ae4561183 (diff)
downloadlibbu++-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/settings.cpp')
-rw-r--r--src/unstable/settings.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/unstable/settings.cpp b/src/unstable/settings.cpp
index ac3975f..792aff9 100644
--- a/src/unstable/settings.cpp
+++ b/src/unstable/settings.cpp
@@ -1,6 +1,7 @@
1#include "bu/settings.h" 1#include "bu/settings.h"
2 2
3#include "bu/settingsdrivertaf.h" 3#include "bu/settingsdrivertaf.h"
4#include "bu/settingsdriverregistry.h"
4 5
5Bu::Settings::Settings( const Bu::UtfString &sCompany, 6Bu::Settings::Settings( const Bu::UtfString &sCompany,
6 const Bu::UtfString &sProduct, Bu::Settings::Driver eDriver ) : 7 const Bu::UtfString &sProduct, Bu::Settings::Driver eDriver ) :
@@ -12,6 +13,7 @@ Bu::Settings::Settings( const Bu::UtfString &sCompany,
12 { 13 {
13 case DriverNative: 14 case DriverNative:
14#if defined( WIN32 ) 15#if defined( WIN32 )
16 pDriver = new Bu::SettingsDriverRegistry();
15#else 17#else
16 pDriver = new Bu::SettingsDriverTaf(); 18 pDriver = new Bu::SettingsDriverTaf();
17#endif 19#endif