diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2015-12-22 16:35:09 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2015-12-22 16:35:09 +0100 |
commit | e8ab53258c044969146be385629a80afe801dee5 (patch) | |
tree | 170ded5835b8a60ef813964530aff7c79e52f4a0 /common/resourceconfig.h | |
parent | 50069f3c28b4130a9a81c25746d2c9d97c0356f5 (diff) | |
download | sink-e8ab53258c044969146be385629a80afe801dee5.tar.gz sink-e8ab53258c044969146be385629a80afe801dee5.zip |
Turn operations of resources into a special case.
Resources don't live inside a resource context, and as such inherently
are a special case. By also removing the option to manually specify the
identifier, the commandline is a lot easier to use.
Diffstat (limited to 'common/resourceconfig.h')
-rw-r--r-- | common/resourceconfig.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/common/resourceconfig.h b/common/resourceconfig.h index fec9f56..cc9cb94 100644 --- a/common/resourceconfig.h +++ b/common/resourceconfig.h | |||
@@ -28,6 +28,7 @@ class ResourceConfig | |||
28 | { | 28 | { |
29 | public: | 29 | public: |
30 | static QMap<QByteArray, QByteArray> getResources(); | 30 | static QMap<QByteArray, QByteArray> getResources(); |
31 | static QByteArray newIdentifier(const QByteArray &type); | ||
31 | static void addResource(const QByteArray &identifier, const QByteArray &type); | 32 | static void addResource(const QByteArray &identifier, const QByteArray &type); |
32 | static void removeResource(const QByteArray &identifier); | 33 | static void removeResource(const QByteArray &identifier); |
33 | static void clear(); | 34 | static void clear(); |