summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2018-07-30 23:42:07 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2018-08-02 13:48:24 +0200
commitdacf52300b389c9ab2a6141423962202b84da6d8 (patch)
tree63f706db90267ba83c5130828091f7f32b47bc04 /common
parente2ff5df1661b4119f584578d49c54899a9ef45b6 (diff)
downloadsink-dacf52300b389c9ab2a6141423962202b84da6d8.tar.gz
sink-dacf52300b389c9ab2a6141423962202b84da6d8.zip
Cleanup.
Diffstat (limited to 'common')
-rw-r--r--common/genericresource.h5
-rw-r--r--common/resource.h3
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
26namespace Sink { 26namespace Sink {
27class Pipeline; 27class Pipeline;
@@ -35,6 +35,7 @@ class CommandProcessor;
35 */ 35 */
36class SINK_EXPORT GenericResource : public Resource 36class SINK_EXPORT GenericResource : public Resource
37{ 37{
38 Q_OBJECT
38public: 39public:
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 */
65class SINK_EXPORT ResourceFactory : public QObject 65class SINK_EXPORT ResourceFactory : public QObject
66{ 66{
67 Q_OBJECT
67public: 68public:
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
86Q_DECLARE_INTERFACE(Sink::ResourceFactory, "sink.sink.resourcefactory") 87Q_DECLARE_INTERFACE(Sink::ResourceFactory, "sink.resourcefactory")