diff options
Diffstat (limited to 'common')
-rw-r--r-- | common/clientapi.h | 2 | ||||
-rw-r--r-- | common/domain/event.fbs | 1 | ||||
-rw-r--r-- | common/domainadaptor.h | 1 |
3 files changed, 3 insertions, 1 deletions
diff --git a/common/clientapi.h b/common/clientapi.h index dd11a0d..546f210 100644 --- a/common/clientapi.h +++ b/common/clientapi.h | |||
@@ -227,7 +227,7 @@ public: | |||
227 | { | 227 | { |
228 | } | 228 | } |
229 | 229 | ||
230 | virtual QVariant getProperty(const QString &key){ return mAdaptor->getProperty(key); } | 230 | virtual QVariant getProperty(const QString &key) const { return mAdaptor->getProperty(key); } |
231 | virtual void setProperty(const QString &key, const QVariant &value){ mChangeSet.insert(key, value); } | 231 | virtual void setProperty(const QString &key, const QVariant &value){ mChangeSet.insert(key, value); } |
232 | 232 | ||
233 | private: | 233 | private: |
diff --git a/common/domain/event.fbs b/common/domain/event.fbs index 6865cc5..49ff270 100644 --- a/common/domain/event.fbs +++ b/common/domain/event.fbs | |||
@@ -1,6 +1,7 @@ | |||
1 | namespace Akonadi2.Domain.Buffer; | 1 | namespace Akonadi2.Domain.Buffer; |
2 | 2 | ||
3 | table Event { | 3 | table Event { |
4 | uid:string; | ||
4 | summary:string; | 5 | summary:string; |
5 | description:string; | 6 | description:string; |
6 | attachment:[ubyte]; | 7 | attachment:[ubyte]; |
diff --git a/common/domainadaptor.h b/common/domainadaptor.h index e8f586b..164c749 100644 --- a/common/domainadaptor.h +++ b/common/domainadaptor.h | |||
@@ -68,6 +68,7 @@ class DomainTypeAdaptorFactory/* <typename DomainType, LocalBuffer, ResourceBuff | |||
68 | { | 68 | { |
69 | public: | 69 | public: |
70 | virtual QSharedPointer<Akonadi2::Domain::BufferAdaptor> createAdaptor(const Akonadi2::Entity &entity) = 0; | 70 | virtual QSharedPointer<Akonadi2::Domain::BufferAdaptor> createAdaptor(const Akonadi2::Entity &entity) = 0; |
71 | virtual void createBuffer(const Akonadi2::Domain::Event &event, flatbuffers::FlatBufferBuilder &fbb) {}; | ||
71 | 72 | ||
72 | protected: | 73 | protected: |
73 | QSharedPointer<PropertyMapper<LocalBuffer> > mLocalMapper; | 74 | QSharedPointer<PropertyMapper<LocalBuffer> > mLocalMapper; |