aboutsummaryrefslogtreecommitdiff
path: root/src/unstable/settingsdrivertaf.h
blob: 28b5f5c0756902089e5695d105a4bd92f590a7e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#ifndef BU_SETTINGS_DRIVER_TAF_H
#define BU_SETTINGS_DRIVER_TAF_H

#include "bu/settingsdriver.h"
#include "bu/string.h"

namespace Bu
{
    class TafGroup;

    /**
     * The taf driver is flawed until I fix taf editing, I've been meaning to...
     */
    class SettingsDriverTaf : public SettingsDriver
    {
    public:
        SettingsDriverTaf();
        virtual ~SettingsDriverTaf();

    protected:
        virtual void init( const Bu::UtfString &sCompany, const Bu::UtfString &sProduct );
        virtual void set( const Bu::UtfString &sKey, const Bu::UtfString  &sValue );        
        virtual Bu::UtfString get( const Bu::UtfString &sKey, const Bu::UtfString &sValue );

    private:
        Bu::String sPath;
        class Bu::TafGroup *pRoot;
    };
};

#endif