diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2015-07-07 11:05:03 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2015-07-07 11:05:03 +0200 |
commit | 12a87e1d6d5c0e4b5a5aacbfa880678629321c1d (patch) | |
tree | 69fa5db595fc6c6531b15195027bbfc0d3134fcc /examples/dummyresource/resourcefactory.h | |
parent | 61ab9866fa8ea5e26e5ce7d7cc265f5d8d65b277 (diff) | |
download | sink-12a87e1d6d5c0e4b5a5aacbfa880678629321c1d.tar.gz sink-12a87e1d6d5c0e4b5a5aacbfa880678629321c1d.zip |
Use the resource instance name
Diffstat (limited to 'examples/dummyresource/resourcefactory.h')
-rw-r--r-- | examples/dummyresource/resourcefactory.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/dummyresource/resourcefactory.h b/examples/dummyresource/resourcefactory.h index f5caf61..f2362bc 100644 --- a/examples/dummyresource/resourcefactory.h +++ b/examples/dummyresource/resourcefactory.h | |||
@@ -32,7 +32,7 @@ | |||
32 | class DummyResource : public Akonadi2::GenericResource | 32 | class DummyResource : public Akonadi2::GenericResource |
33 | { | 33 | { |
34 | public: | 34 | public: |
35 | DummyResource(); | 35 | DummyResource(const QByteArray &instanceIdentifier); |
36 | KAsync::Job<void> synchronizeWithSource(Akonadi2::Pipeline *pipeline) Q_DECL_OVERRIDE; | 36 | KAsync::Job<void> synchronizeWithSource(Akonadi2::Pipeline *pipeline) Q_DECL_OVERRIDE; |
37 | void configurePipeline(Akonadi2::Pipeline *pipeline) Q_DECL_OVERRIDE; | 37 | void configurePipeline(Akonadi2::Pipeline *pipeline) Q_DECL_OVERRIDE; |
38 | }; | 38 | }; |
@@ -46,7 +46,7 @@ class DummyResourceFactory : public Akonadi2::ResourceFactory | |||
46 | public: | 46 | public: |
47 | DummyResourceFactory(QObject *parent = 0); | 47 | DummyResourceFactory(QObject *parent = 0); |
48 | 48 | ||
49 | Akonadi2::Resource *createResource(); | 49 | Akonadi2::Resource *createResource(const QByteArray &instanceIdentifier) Q_DECL_OVERRIDE; |
50 | void registerFacades(Akonadi2::FacadeFactory &factory); | 50 | void registerFacades(Akonadi2::FacadeFactory &factory) Q_DECL_OVERRIDE; |
51 | }; | 51 | }; |
52 | 52 | ||