diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2015-09-08 21:08:54 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2015-09-08 21:08:54 +0200 |
commit | bbbda3fe9444eba6795a5490da0425cdf8f26361 (patch) | |
tree | d558ce110b71278df91135db5ac29c484e588ac5 /examples/dummyresource/resourcefactory.h | |
parent | 43ae43bc74800473aadf9c5c807603cdf8516d36 (diff) | |
download | sink-bbbda3fe9444eba6795a5490da0425cdf8f26361.tar.gz sink-bbbda3fe9444eba6795a5490da0425cdf8f26361.zip |
Added support for mails to akonadi and the dummyresource.
Adding new types definitely needs to become easier.
Diffstat (limited to 'examples/dummyresource/resourcefactory.h')
-rw-r--r-- | examples/dummyresource/resourcefactory.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/dummyresource/resourcefactory.h b/examples/dummyresource/resourcefactory.h index 4baafa7..cf0f624 100644 --- a/examples/dummyresource/resourcefactory.h +++ b/examples/dummyresource/resourcefactory.h | |||
@@ -34,6 +34,9 @@ class DummyResource : public Akonadi2::GenericResource | |||
34 | public: | 34 | public: |
35 | DummyResource(const QByteArray &instanceIdentifier, const QSharedPointer<Akonadi2::Pipeline> &pipeline = QSharedPointer<Akonadi2::Pipeline>()); | 35 | DummyResource(const QByteArray &instanceIdentifier, const QSharedPointer<Akonadi2::Pipeline> &pipeline = QSharedPointer<Akonadi2::Pipeline>()); |
36 | KAsync::Job<void> synchronizeWithSource() Q_DECL_OVERRIDE; | 36 | KAsync::Job<void> synchronizeWithSource() Q_DECL_OVERRIDE; |
37 | private: | ||
38 | void createEvent(const QByteArray &rid, const QByteArray &data, flatbuffers::FlatBufferBuilder &entityFbb); | ||
39 | void createMail(const QByteArray &rid, const QByteArray &data, flatbuffers::FlatBufferBuilder &entityFbb); | ||
37 | }; | 40 | }; |
38 | 41 | ||
39 | class DummyResourceFactory : public Akonadi2::ResourceFactory | 42 | class DummyResourceFactory : public Akonadi2::ResourceFactory |