diff options
Diffstat (limited to 'common/domain/mail.h')
-rw-r--r-- | common/domain/mail.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/common/domain/mail.h b/common/domain/mail.h index 3b0e9da..ea3ef9e 100644 --- a/common/domain/mail.h +++ b/common/domain/mail.h | |||
@@ -25,6 +25,7 @@ | |||
25 | 25 | ||
26 | class ResultSet; | 26 | class ResultSet; |
27 | class QByteArray; | 27 | class QByteArray; |
28 | class DataStoreQuery; | ||
28 | 29 | ||
29 | template<typename T> | 30 | template<typename T> |
30 | class ReadPropertyMapper; | 31 | class ReadPropertyMapper; |
@@ -45,7 +46,7 @@ class TypeImplementation<Sink::ApplicationDomain::Mail> { | |||
45 | public: | 46 | public: |
46 | typedef Sink::ApplicationDomain::Buffer::Mail Buffer; | 47 | typedef Sink::ApplicationDomain::Buffer::Mail Buffer; |
47 | typedef Sink::ApplicationDomain::Buffer::MailBuilder BufferBuilder; | 48 | typedef Sink::ApplicationDomain::Buffer::MailBuilder BufferBuilder; |
48 | static DataStoreQuery::Ptr prepareQuery(const Sink::Query &query, Sink::Storage::Transaction &transaction); | 49 | static QSharedPointer<DataStoreQuery> prepareQuery(const Sink::Query &query, Sink::Storage::Transaction &transaction); |
49 | static QSet<QByteArray> indexedProperties(); | 50 | static QSet<QByteArray> indexedProperties(); |
50 | static void index(const QByteArray &identifier, const BufferAdaptor &bufferAdaptor, Sink::Storage::Transaction &transaction); | 51 | static void index(const QByteArray &identifier, const BufferAdaptor &bufferAdaptor, Sink::Storage::Transaction &transaction); |
51 | static void removeIndex(const QByteArray &identifier, const BufferAdaptor &bufferAdaptor, Sink::Storage::Transaction &transaction); | 52 | static void removeIndex(const QByteArray &identifier, const BufferAdaptor &bufferAdaptor, Sink::Storage::Transaction &transaction); |