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/domainadaptor.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/domainadaptor.h')
-rw-r--r-- | examples/dummyresource/domainadaptor.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/examples/dummyresource/domainadaptor.h b/examples/dummyresource/domainadaptor.h index 8b6d96b..add3e8e 100644 --- a/examples/dummyresource/domainadaptor.h +++ b/examples/dummyresource/domainadaptor.h | |||
@@ -20,6 +20,7 @@ | |||
20 | 20 | ||
21 | #include "common/domainadaptor.h" | 21 | #include "common/domainadaptor.h" |
22 | #include "event_generated.h" | 22 | #include "event_generated.h" |
23 | #include "mail_generated.h" | ||
23 | #include "dummycalendar_generated.h" | 24 | #include "dummycalendar_generated.h" |
24 | #include "entity_generated.h" | 25 | #include "entity_generated.h" |
25 | 26 | ||
@@ -29,3 +30,11 @@ public: | |||
29 | DummyEventAdaptorFactory(); | 30 | DummyEventAdaptorFactory(); |
30 | virtual ~DummyEventAdaptorFactory() {}; | 31 | virtual ~DummyEventAdaptorFactory() {}; |
31 | }; | 32 | }; |
33 | |||
34 | //TODO replace the resource specific event class by a mail class or a dummy class if no resource type is required. | ||
35 | class DummyMailAdaptorFactory : public DomainTypeAdaptorFactory<Akonadi2::ApplicationDomain::Mail, DummyCalendar::DummyEvent, DummyCalendar::DummyEventBuilder> | ||
36 | { | ||
37 | public: | ||
38 | DummyMailAdaptorFactory(); | ||
39 | virtual ~DummyMailAdaptorFactory() {}; | ||
40 | }; | ||