diff options
Diffstat (limited to 'common/entitybuffer.cpp')
-rw-r--r-- | common/entitybuffer.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/common/entitybuffer.cpp b/common/entitybuffer.cpp index b9c9d76..c5d6bce 100644 --- a/common/entitybuffer.cpp +++ b/common/entitybuffer.cpp | |||
@@ -18,6 +18,11 @@ EntityBuffer::EntityBuffer(void *dataValue, int dataSize) | |||
18 | } | 18 | } |
19 | } | 19 | } |
20 | 20 | ||
21 | const Akonadi2::Entity &EntityBuffer::entity() | ||
22 | { | ||
23 | return *mEntity; | ||
24 | } | ||
25 | |||
21 | const flatbuffers::Vector<uint8_t>* EntityBuffer::resourceBuffer() | 26 | const flatbuffers::Vector<uint8_t>* EntityBuffer::resourceBuffer() |
22 | { | 27 | { |
23 | if (!mEntity) { | 28 | if (!mEntity) { |