diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2015-01-03 00:08:44 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2015-01-03 00:08:44 +0100 |
commit | 4067462b0a27984df84b0379c19122d574253dfb (patch) | |
tree | e6a413a575b7fd4062da6474907bffd68155706f /dummyresource/domainadaptor.h | |
parent | 91d915a09b7d52c10edb1d4c1298fc2885b8a257 (diff) | |
download | sink-4067462b0a27984df84b0379c19122d574253dfb.tar.gz sink-4067462b0a27984df84b0379c19122d574253dfb.zip |
Shared domain adaptors between resource and facade.
Diffstat (limited to 'dummyresource/domainadaptor.h')
-rw-r--r-- | dummyresource/domainadaptor.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/dummyresource/domainadaptor.h b/dummyresource/domainadaptor.h new file mode 100644 index 0000000..881b7f3 --- /dev/null +++ b/dummyresource/domainadaptor.h | |||
@@ -0,0 +1,14 @@ | |||
1 | |||
2 | #pragma once | ||
3 | |||
4 | #include "common/domainadaptor.h" | ||
5 | #include "event_generated.h" | ||
6 | #include "dummycalendar_generated.h" | ||
7 | #include "entity_generated.h" | ||
8 | |||
9 | class DummyEventAdaptorFactory : public DomainTypeAdaptorFactory<Akonadi2::Domain::Event, Akonadi2::Domain::Buffer::Event, DummyCalendar::DummyEvent> | ||
10 | { | ||
11 | public: | ||
12 | DummyEventAdaptorFactory(); | ||
13 | virtual QSharedPointer<Akonadi2::Domain::BufferAdaptor> createAdaptor(const Akonadi2::Entity &entity); | ||
14 | }; | ||