diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-06-17 09:09:33 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-06-17 09:09:33 +0200 |
commit | 3f4011bcbf4ccf55edb8ea618fbf9b50f9e7bec9 (patch) | |
tree | 489d4bc4c672d60f35a20556cb16a98d871a9fe9 /common | |
parent | 749c4d7da40bf20d240be5ad7948f4be843865cd (diff) | |
download | sink-3f4011bcbf4ccf55edb8ea618fbf9b50f9e7bec9.tar.gz sink-3f4011bcbf4ccf55edb8ea618fbf9b50f9e7bec9.zip |
Initial version of the mailtransport resource
Diffstat (limited to 'common')
-rw-r--r-- | common/entitystore.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/common/entitystore.h b/common/entitystore.h index b795b26..6bfe414 100644 --- a/common/entitystore.h +++ b/common/entitystore.h | |||
@@ -54,6 +54,12 @@ public: | |||
54 | return reader.readPrevious(uid, revision); | 54 | return reader.readPrevious(uid, revision); |
55 | } | 55 | } |
56 | 56 | ||
57 | template<typename T> | ||
58 | EntityReader<T> reader() | ||
59 | { | ||
60 | return EntityReader<T>(mResourceType, mResourceInstanceIdentifier, mTransaction); | ||
61 | } | ||
62 | |||
57 | private: | 63 | private: |
58 | QByteArray mResourceType; | 64 | QByteArray mResourceType; |
59 | QByteArray mResourceInstanceIdentifier; | 65 | QByteArray mResourceInstanceIdentifier; |