summaryrefslogtreecommitdiffstats
path: root/dummyresource/facade.h
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2015-04-12 16:02:10 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2015-04-12 16:02:10 +0200
commite85967518b9041e9943ec5f1765c6694bb153840 (patch)
tree0f4c8a87a0788c67fbe7c11414c0d96a7f863d11 /dummyresource/facade.h
parentea348c62fdebe1d9c6531fc4491d3316a1e941df (diff)
downloadsink-e85967518b9041e9943ec5f1765c6694bb153840.tar.gz
sink-e85967518b9041e9943ec5f1765c6694bb153840.zip
More generic domainadpator code.
This should cover read and write for entites that have a 1:1 mapping to the resource buffers.
Diffstat (limited to 'dummyresource/facade.h')
-rw-r--r--dummyresource/facade.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/dummyresource/facade.h b/dummyresource/facade.h
index 7bef2cc..37ed81d 100644
--- a/dummyresource/facade.h
+++ b/dummyresource/facade.h
@@ -41,5 +41,5 @@ public:
41 41
42private: 42private:
43 void readValue(QSharedPointer<Akonadi2::Storage> storage, const QByteArray &key, const std::function<void(const Akonadi2::ApplicationDomain::Event::Ptr &)> &resultCallback, std::function<bool(const std::string &key, DummyCalendar::DummyEvent const *buffer, Akonadi2::ApplicationDomain::Buffer::Event const *local)>); 43 void readValue(QSharedPointer<Akonadi2::Storage> storage, const QByteArray &key, const std::function<void(const Akonadi2::ApplicationDomain::Event::Ptr &)> &resultCallback, std::function<bool(const std::string &key, DummyCalendar::DummyEvent const *buffer, Akonadi2::ApplicationDomain::Buffer::Event const *local)>);
44 QSharedPointer<DomainTypeAdaptorFactory<Akonadi2::ApplicationDomain::Event, Akonadi2::ApplicationDomain::Buffer::Event, DummyCalendar::DummyEvent> > mFactory; 44 QSharedPointer<DomainTypeAdaptorFactory<Akonadi2::ApplicationDomain::Event, Akonadi2::ApplicationDomain::Buffer::Event, DummyCalendar::DummyEvent, Akonadi2::ApplicationDomain::Buffer::EventBuilder, DummyCalendar::DummyEventBuilder> > mFactory;
45}; 45};