diff options
Diffstat (limited to 'common')
-rw-r--r-- | common/genericresource.h | 5 | ||||
-rw-r--r-- | common/resource.h | 3 |
2 files changed, 5 insertions, 3 deletions
diff --git a/common/genericresource.h b/common/genericresource.h index d34a361..017d6bc 100644 --- a/common/genericresource.h +++ b/common/genericresource.h | |||
@@ -20,8 +20,8 @@ | |||
20 | #pragma once | 20 | #pragma once |
21 | 21 | ||
22 | #include "sink_export.h" | 22 | #include "sink_export.h" |
23 | #include <resource.h> | 23 | #include "resource.h" |
24 | #include <resourcecontext.h> | 24 | #include "resourcecontext.h" |
25 | 25 | ||
26 | namespace Sink { | 26 | namespace Sink { |
27 | class Pipeline; | 27 | class Pipeline; |
@@ -35,6 +35,7 @@ class CommandProcessor; | |||
35 | */ | 35 | */ |
36 | class SINK_EXPORT GenericResource : public Resource | 36 | class SINK_EXPORT GenericResource : public Resource |
37 | { | 37 | { |
38 | Q_OBJECT | ||
38 | public: | 39 | public: |
39 | GenericResource(const Sink::ResourceContext &context, const QSharedPointer<Pipeline> &pipeline = QSharedPointer<Pipeline>()); | 40 | GenericResource(const Sink::ResourceContext &context, const QSharedPointer<Pipeline> &pipeline = QSharedPointer<Pipeline>()); |
40 | virtual ~GenericResource() Q_DECL_OVERRIDE; | 41 | virtual ~GenericResource() Q_DECL_OVERRIDE; |
diff --git a/common/resource.h b/common/resource.h index 1b0b388..2c33c0c 100644 --- a/common/resource.h +++ b/common/resource.h | |||
@@ -64,6 +64,7 @@ private: | |||
64 | */ | 64 | */ |
65 | class SINK_EXPORT ResourceFactory : public QObject | 65 | class SINK_EXPORT ResourceFactory : public QObject |
66 | { | 66 | { |
67 | Q_OBJECT | ||
67 | public: | 68 | public: |
68 | static ResourceFactory *load(const QByteArray &resourceName); | 69 | static ResourceFactory *load(const QByteArray &resourceName); |
69 | 70 | ||
@@ -83,4 +84,4 @@ private: | |||
83 | 84 | ||
84 | } // namespace Sink | 85 | } // namespace Sink |
85 | 86 | ||
86 | Q_DECLARE_INTERFACE(Sink::ResourceFactory, "sink.sink.resourcefactory") | 87 | Q_DECLARE_INTERFACE(Sink::ResourceFactory, "sink.resourcefactory") |