summaryrefslogtreecommitdiffstats
path: root/common/resourceconfig.h
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2016-04-17 15:01:51 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2016-04-17 15:01:51 +0200
commitbf75a2b6b184a3504cdee4b88a6db4a82c6da150 (patch)
tree841434e105e89e6a5ef1b6bbe3c1b43a5dd2e499 /common/resourceconfig.h
parentc3040251dd4d9e8d00cbccdeb693b11a72077c73 (diff)
downloadsink-bf75a2b6b184a3504cdee4b88a6db4a82c6da150.tar.gz
sink-bf75a2b6b184a3504cdee4b88a6db4a82c6da150.zip
Don't encode the resource type into the identifier
Diffstat (limited to 'common/resourceconfig.h')
-rw-r--r--common/resourceconfig.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/resourceconfig.h b/common/resourceconfig.h
index 2108caa..fb74249 100644
--- a/common/resourceconfig.h
+++ b/common/resourceconfig.h
@@ -29,6 +29,7 @@ class SINK_EXPORT ResourceConfig
29{ 29{
30public: 30public:
31 static QMap<QByteArray, QByteArray> getResources(); 31 static QMap<QByteArray, QByteArray> getResources();
32 static QByteArray getResourceType(const QByteArray &identifier);
32 static QByteArray newIdentifier(const QByteArray &type); 33 static QByteArray newIdentifier(const QByteArray &type);
33 static void addResource(const QByteArray &identifier, const QByteArray &type); 34 static void addResource(const QByteArray &identifier, const QByteArray &type);
34 static void removeResource(const QByteArray &identifier); 35 static void removeResource(const QByteArray &identifier);