summaryrefslogtreecommitdiffstats
path: root/common/clientapi.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/clientapi.h')
-rw-r--r--common/clientapi.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/common/clientapi.h b/common/clientapi.h
index d496715..5ed99e0 100644
--- a/common/clientapi.h
+++ b/common/clientapi.h
@@ -31,6 +31,8 @@
31class QAbstractItemModel; 31class QAbstractItemModel;
32 32
33namespace Akonadi2 { 33namespace Akonadi2 {
34class ResourceAccess;
35class ResourceNotification;
34 36
35/** 37/**
36 * Store interface used in the client API. 38 * Store interface used in the client API.
@@ -136,6 +138,15 @@ namespace Resources {
136 KAsync::Job<void> inspect(const Inspection &inspectionCommand); 138 KAsync::Job<void> inspect(const Inspection &inspectionCommand);
137} 139}
138 140
141class Notifier {
142public:
143 Notifier(const QSharedPointer<ResourceAccess> &resourceAccess);
144 void registerHandler(std::function<void(const ResourceNotification &)>);
145
146private:
147 class Private;
148 QScopedPointer<Private> d;
149};
139 150
140} 151}
141 152