diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-04-11 08:39:43 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-04-11 08:39:43 +0200 |
commit | 68fcd3e123e9c0e345d95728d0c8742e53be940a (patch) | |
tree | e4e79abf7f3f2262871675a12f37d38f60fad71e /common/resourceconfig.h | |
parent | 9f5e4a488360c2c0232a12b65e9d1c8366c0bc8b (diff) | |
download | sink-68fcd3e123e9c0e345d95728d0c8742e53be940a.tar.gz sink-68fcd3e123e9c0e345d95728d0c8742e53be940a.zip |
Use ConfigStore for accounts
Diffstat (limited to 'common/resourceconfig.h')
-rw-r--r-- | common/resourceconfig.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/common/resourceconfig.h b/common/resourceconfig.h index 505b5ec..2108caa 100644 --- a/common/resourceconfig.h +++ b/common/resourceconfig.h | |||
@@ -36,15 +36,3 @@ public: | |||
36 | static void configureResource(const QByteArray &identifier, const QMap<QByteArray, QVariant> &configuration); | 36 | static void configureResource(const QByteArray &identifier, const QMap<QByteArray, QVariant> &configuration); |
37 | static QMap<QByteArray, QVariant> getConfiguration(const QByteArray &identifier); | 37 | static QMap<QByteArray, QVariant> getConfiguration(const QByteArray &identifier); |
38 | }; | 38 | }; |
39 | |||
40 | class SINK_EXPORT AccountConfig | ||
41 | { | ||
42 | public: | ||
43 | static QMap<QByteArray, QByteArray> getAccounts(); | ||
44 | static QByteArray newIdentifier(const QByteArray &type); | ||
45 | static void addAccount(const QByteArray &identifier, const QByteArray &type); | ||
46 | static void removeAccount(const QByteArray &identifier); | ||
47 | static void clear(); | ||
48 | static void configureAccount(const QByteArray &identifier, const QMap<QByteArray, QVariant> &configuration); | ||
49 | static QMap<QByteArray, QVariant> getConfiguration(const QByteArray &identifier); | ||
50 | }; | ||