diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2015-11-09 16:04:46 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2015-11-09 16:04:46 +0100 |
commit | 9f6e0fbfd8cf23104eba5a78f89a69fab1a417f5 (patch) | |
tree | a48d5e63f1c5d986d871c978c77d6c909536889d /examples/dummyresource/resourcefactory.cpp | |
parent | 790991aa1007d3271d80bc7e77f5b4f86c9bcef0 (diff) | |
download | sink-9f6e0fbfd8cf23104eba5a78f89a69fab1a417f5.tar.gz sink-9f6e0fbfd8cf23104eba5a78f89a69fab1a417f5.zip |
Added a folder type
Diffstat (limited to 'examples/dummyresource/resourcefactory.cpp')
-rw-r--r-- | examples/dummyresource/resourcefactory.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/dummyresource/resourcefactory.cpp b/examples/dummyresource/resourcefactory.cpp index 397ca5f..edb3b42 100644 --- a/examples/dummyresource/resourcefactory.cpp +++ b/examples/dummyresource/resourcefactory.cpp | |||
@@ -40,6 +40,7 @@ | |||
40 | //This is the resources entity type, and not the domain type | 40 | //This is the resources entity type, and not the domain type |
41 | #define ENTITY_TYPE_EVENT "event" | 41 | #define ENTITY_TYPE_EVENT "event" |
42 | #define ENTITY_TYPE_MAIL "mail" | 42 | #define ENTITY_TYPE_MAIL "mail" |
43 | #define ENTITY_TYPE_FOLDER "folder" | ||
43 | 44 | ||
44 | /** | 45 | /** |
45 | * Index types: | 46 | * Index types: |
@@ -228,5 +229,6 @@ void DummyResourceFactory::registerFacades(Akonadi2::FacadeFactory &factory) | |||
228 | { | 229 | { |
229 | factory.registerFacade<Akonadi2::ApplicationDomain::Event, DummyResourceFacade>(PLUGIN_NAME); | 230 | factory.registerFacade<Akonadi2::ApplicationDomain::Event, DummyResourceFacade>(PLUGIN_NAME); |
230 | factory.registerFacade<Akonadi2::ApplicationDomain::Mail, DummyResourceMailFacade>(PLUGIN_NAME); | 231 | factory.registerFacade<Akonadi2::ApplicationDomain::Mail, DummyResourceMailFacade>(PLUGIN_NAME); |
232 | factory.registerFacade<Akonadi2::ApplicationDomain::Folder, DummyResourceFolderFacade>(PLUGIN_NAME); | ||
231 | } | 233 | } |
232 | 234 | ||