diff options
Diffstat (limited to 'common/clientapi.h')
-rw-r--r-- | common/clientapi.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/common/clientapi.h b/common/clientapi.h index e1d5b8d..06376c2 100644 --- a/common/clientapi.h +++ b/common/clientapi.h | |||
@@ -33,7 +33,7 @@ class QAbstractItemModel; | |||
33 | 33 | ||
34 | namespace Akonadi2 { | 34 | namespace Akonadi2 { |
35 | class ResourceAccess; | 35 | class ResourceAccess; |
36 | class ResourceNotification; | 36 | class Notification; |
37 | 37 | ||
38 | /** | 38 | /** |
39 | * Store interface used in the client API. | 39 | * Store interface used in the client API. |
@@ -127,7 +127,9 @@ namespace Resources { | |||
127 | class Notifier { | 127 | class Notifier { |
128 | public: | 128 | public: |
129 | Notifier(const QSharedPointer<ResourceAccess> &resourceAccess); | 129 | Notifier(const QSharedPointer<ResourceAccess> &resourceAccess); |
130 | void registerHandler(std::function<void(const ResourceNotification &)>); | 130 | // Notifier(const QByteArray &resource); |
131 | // Notifier(const QByteArrayList &resource); | ||
132 | void registerHandler(std::function<void(const Notification &)>); | ||
131 | 133 | ||
132 | private: | 134 | private: |
133 | class Private; | 135 | class Private; |