diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2015-07-07 03:22:23 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2015-07-07 03:22:23 +0200 |
commit | 61ab9866fa8ea5e26e5ce7d7cc265f5d8d65b277 (patch) | |
tree | d7f498ad2e3f4082fdeb67ffe7f91150e3b1a668 /examples/dummyresource | |
parent | 9e967283190d36510fbcf73a79cc239dc696ec85 (diff) | |
download | sink-61ab9866fa8ea5e26e5ce7d7cc265f5d8d65b277.tar.gz sink-61ab9866fa8ea5e26e5ce7d7cc265f5d8d65b277.zip |
Pass instanceIdentifier to facade
Diffstat (limited to 'examples/dummyresource')
-rw-r--r-- | examples/dummyresource/facade.cpp | 4 | ||||
-rw-r--r-- | examples/dummyresource/facade.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/examples/dummyresource/facade.cpp b/examples/dummyresource/facade.cpp index d6e9286..d20d12d 100644 --- a/examples/dummyresource/facade.cpp +++ b/examples/dummyresource/facade.cpp | |||
@@ -21,8 +21,8 @@ | |||
21 | 21 | ||
22 | #include "domainadaptor.h" | 22 | #include "domainadaptor.h" |
23 | 23 | ||
24 | DummyResourceFacade::DummyResourceFacade() | 24 | DummyResourceFacade::DummyResourceFacade(const QByteArray &instanceIdentifier) |
25 | : Akonadi2::GenericFacade<Akonadi2::ApplicationDomain::Event>("org.kde.dummy.instance1", QSharedPointer<DummyEventAdaptorFactory>::create()) | 25 | : Akonadi2::GenericFacade<Akonadi2::ApplicationDomain::Event>(instanceIdentifier, QSharedPointer<DummyEventAdaptorFactory>::create()) |
26 | { | 26 | { |
27 | } | 27 | } |
28 | 28 | ||
diff --git a/examples/dummyresource/facade.h b/examples/dummyresource/facade.h index 441dc38..dde0dc2 100644 --- a/examples/dummyresource/facade.h +++ b/examples/dummyresource/facade.h | |||
@@ -25,6 +25,6 @@ | |||
25 | class DummyResourceFacade : public Akonadi2::GenericFacade<Akonadi2::ApplicationDomain::Event> | 25 | class DummyResourceFacade : public Akonadi2::GenericFacade<Akonadi2::ApplicationDomain::Event> |
26 | { | 26 | { |
27 | public: | 27 | public: |
28 | DummyResourceFacade(); | 28 | DummyResourceFacade(const QByteArray &instanceIdentifier); |
29 | virtual ~DummyResourceFacade(); | 29 | virtual ~DummyResourceFacade(); |
30 | }; | 30 | }; |