summaryrefslogtreecommitdiffstats
path: root/common/resource.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/resource.h')
-rw-r--r--common/resource.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/common/resource.h b/common/resource.h
index 30d6c46..ab30cb9 100644
--- a/common/resource.h
+++ b/common/resource.h
@@ -19,7 +19,7 @@
19 */ 19 */
20#pragma once 20#pragma once
21 21
22#include <sinkcommon_export.h> 22#include "sink_export.h"
23 23
24#include <Async/Async> 24#include <Async/Async>
25#include "notification.h" 25#include "notification.h"
@@ -31,7 +31,7 @@ class FacadeFactory;
31/** 31/**
32 * Resource interface 32 * Resource interface
33 */ 33 */
34class SINKCOMMON_EXPORT Resource : public QObject 34class SINK_EXPORT Resource : public QObject
35{ 35{
36 Q_OBJECT 36 Q_OBJECT
37public: 37public:
@@ -55,6 +55,11 @@ public:
55 */ 55 */
56 virtual void setLowerBoundRevision(qint64 revision); 56 virtual void setLowerBoundRevision(qint64 revision);
57 57
58 /**
59 * Remove the data from disk
60 */
61 virtual void removeDataFromDisk();
62
58Q_SIGNALS: 63Q_SIGNALS:
59 void revisionUpdated(qint64); 64 void revisionUpdated(qint64);
60 void notify(Notification); 65 void notify(Notification);
@@ -67,7 +72,7 @@ private:
67/** 72/**
68 * Factory interface for resource to implement. 73 * Factory interface for resource to implement.
69 */ 74 */
70class ResourceFactory : public QObject 75class SINK_EXPORT ResourceFactory : public QObject
71{ 76{
72public: 77public:
73 static ResourceFactory *load(const QString &resourceName); 78 static ResourceFactory *load(const QString &resourceName);