diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2015-04-19 14:05:23 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2015-04-19 14:05:23 +0200 |
commit | 7fc0070bc073aaa8702e43eb10d887203f10463e (patch) | |
tree | 1ab2cd899d98c89372a8b398870999bbeac824b3 /common/clientapi.cpp | |
parent | 3d7522b83f2c3f87116244bd064a751306a5411d (diff) | |
download | sink-7fc0070bc073aaa8702e43eb10d887203f10463e.tar.gz sink-7fc0070bc073aaa8702e43eb10d887203f10463e.zip |
Stub for akonadi configuration.
Instead of dealing with dedicated configuration facades,
we'll integrate that directly into the domain interface. That way it should
be rather natural for applications to i.e. query for available resources,
and then configure them in the same way some other domain object would be
modified.
Diffstat (limited to 'common/clientapi.cpp')
-rw-r--r-- | common/clientapi.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/common/clientapi.cpp b/common/clientapi.cpp index 48de1b0..c6f5582 100644 --- a/common/clientapi.cpp +++ b/common/clientapi.cpp | |||
@@ -29,6 +29,12 @@ QByteArray getTypeName<Todo>() | |||
29 | return "todo"; | 29 | return "todo"; |
30 | } | 30 | } |
31 | 31 | ||
32 | template<> | ||
33 | QByteArray getTypeName<AkonadiResource>() | ||
34 | { | ||
35 | return "akonadiresource"; | ||
36 | } | ||
37 | |||
32 | } // namespace Domain | 38 | } // namespace Domain |
33 | 39 | ||
34 | void Store::shutdown(const QByteArray &identifier) | 40 | void Store::shutdown(const QByteArray &identifier) |