diff options
Diffstat (limited to 'common/resource.h')
-rw-r--r-- | common/resource.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/common/resource.h b/common/resource.h index 426585d..1dbc365 100644 --- a/common/resource.h +++ b/common/resource.h | |||
@@ -71,14 +71,14 @@ private: | |||
71 | class SINK_EXPORT ResourceFactory : public QObject | 71 | class SINK_EXPORT ResourceFactory : public QObject |
72 | { | 72 | { |
73 | public: | 73 | public: |
74 | static ResourceFactory *load(const QString &resourceName); | 74 | static ResourceFactory *load(const QByteArray &resourceName); |
75 | 75 | ||
76 | ResourceFactory(QObject *parent); | 76 | ResourceFactory(QObject *parent); |
77 | virtual ~ResourceFactory(); | 77 | virtual ~ResourceFactory(); |
78 | 78 | ||
79 | virtual Resource *createResource(const ResourceContext &context) = 0; | 79 | virtual Resource *createResource(const ResourceContext &context) = 0; |
80 | virtual void registerFacades(FacadeFactory &factory) = 0; | 80 | virtual void registerFacades(const QByteArray &resourceName, FacadeFactory &factory) = 0; |
81 | virtual void registerAdaptorFactories(AdaptorFactoryRegistry ®istry) {}; | 81 | virtual void registerAdaptorFactories(const QByteArray &resourceName, AdaptorFactoryRegistry ®istry) {}; |
82 | virtual void removeDataFromDisk(const QByteArray &instanceIdentifier) = 0; | 82 | virtual void removeDataFromDisk(const QByteArray &instanceIdentifier) = 0; |
83 | 83 | ||
84 | private: | 84 | private: |