diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2015-04-19 14:11:02 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2015-04-19 14:11:02 +0200 |
commit | f89e43b3603976bc0e6eb885b3b9a43a6caff1c2 (patch) | |
tree | 2ce617aa7a0f6b82b274f8fc9c0e74be5706ea31 /examples/dummyresource/domainadaptor.h | |
parent | 9ce338c195bdc123633c3018a91908df26848da6 (diff) | |
download | sink-f89e43b3603976bc0e6eb885b3b9a43a6caff1c2.tar.gz sink-f89e43b3603976bc0e6eb885b3b9a43a6caff1c2.zip |
Moved client and dummyresource to examples/
Diffstat (limited to 'examples/dummyresource/domainadaptor.h')
-rw-r--r-- | examples/dummyresource/domainadaptor.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/examples/dummyresource/domainadaptor.h b/examples/dummyresource/domainadaptor.h new file mode 100644 index 0000000..9d351e7 --- /dev/null +++ b/examples/dummyresource/domainadaptor.h | |||
@@ -0,0 +1,14 @@ | |||
1 | #pragma once | ||
2 | |||
3 | #include "common/domainadaptor.h" | ||
4 | #include "event_generated.h" | ||
5 | #include "dummycalendar_generated.h" | ||
6 | #include "entity_generated.h" | ||
7 | |||
8 | class DummyEventAdaptorFactory : public DomainTypeAdaptorFactory<Akonadi2::ApplicationDomain::Event, Akonadi2::ApplicationDomain::Buffer::Event, DummyCalendar::DummyEvent, Akonadi2::ApplicationDomain::Buffer::EventBuilder, DummyCalendar::DummyEventBuilder> | ||
9 | { | ||
10 | public: | ||
11 | DummyEventAdaptorFactory(); | ||
12 | virtual ~DummyEventAdaptorFactory() {}; | ||
13 | virtual void createBuffer(const Akonadi2::ApplicationDomain::Event &event, flatbuffers::FlatBufferBuilder &fbb); | ||
14 | }; | ||