aboutsummaryrefslogtreecommitdiff
path: root/src/unstable/settingsdriver.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/unstable/settingsdriver.h')
-rw-r--r--src/unstable/settingsdriver.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/unstable/settingsdriver.h b/src/unstable/settingsdriver.h
new file mode 100644
index 0000000..0a63106
--- /dev/null
+++ b/src/unstable/settingsdriver.h
@@ -0,0 +1,26 @@
1#ifndef BU_SETTINGS_DRIVER_H
2#define BU_SETTINGS_DRIVER_H
3
4#include "bu/utfstring.h"
5
6namespace Bu
7{
8 class Settings;
9
10 /**
11 * Base class for i/o interfaces for Bu::Settings. By subclassing this you
12 * can provide custom storage for application settings.
13 */
14 class SettingsDriver
15 {
16 friend class Bu::Settings;
17 public:
18 SettingsDriver();
19 virtual ~SettingsDriver();
20
21 protected:
22 virtual void init( const Bu::UtfString &sCompany, const Bu::UtfString &sProduct )=0;
23 };
24};
25
26#endif