diff options
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 | }; | ||