summaryrefslogtreecommitdiffstats
path: root/src/libraries/qmfclient/qmailstore.h
diff options
context:
space:
mode:
authorDon Sanders <don.sanders@nokia.com>2012-01-10 11:06:13 +0200
committerDon Sanders <don.sanders@nokia.com>2012-01-10 11:06:13 +0200
commita6748fd6a7bd41b79667c5f399fd649eabe23161 (patch)
tree607006da14a159474c33972a153d776f0041ba2e /src/libraries/qmfclient/qmailstore.h
parent8facc917b9cc69e38d7eb9a0642032c76a043512 (diff)
Add disconnected storage actions, for actions requiring database writes.2012W02
Specifically, as documented in src/libraries/qmfclient/CHANGES.qdoc item 52, added: 'void QMailStorageAction::deleteMessages(quint64, const QMailMessageIdList &ids)', 'void QMailStorageAction::rollBackUpdates(quint64, const QMailAccountId &mailAccountId)', 'void QMailStorageAction::moveToStandardFolder(quint64, const QMailMessageIdList& ids, QMailFolder::StandardFolder standardFolder)', 'void QMailStorageAction::moveToFolder(quint64, const QMailMessageIdList& ids, const QMailFolderId& folderId)', 'void QMailStorageAction::flagMessages(quint64, const QMailMessageIdList& ids, quint64 setMask, quint64 unsetMask)', 'void QMailStorageAction::restoreToPreviousFolder(quint64, const QMailMessageKey& key)', 'void QMailMessageServer::deleteMessages(quint64, const QMailMessageIdList &ids)', 'void QMailMessageServer::rollBackUpdates(quint64, const QMailAccountId &mailAccountId)', 'void QMailMessageServer::moveToStandardFolder(quint64, const QMailMessageIdList& ids, quint64 standardFolder)', 'void QMailMessageServer::moveToFolder(quint64, const QMailMessageIdList& ids, const QMailFolderId& folderId)', 'void QMailMessageServer::flagMessages(quint64, const QMailMessageIdList& ids, quint64 setMask, quint64 unsetMask)' and 'void QMailMessageServer::restoreToPreviousFolder(quint64, const QMailMessageKey& key)'. Also added documentation for new functions, and made some minor documentation updates for existing functions. Additionally added a new set of module tests tst_qmailstorageaction. These tests require the messageserver to be running. They are not just stubs but do real testing.
Diffstat (limited to 'src/libraries/qmfclient/qmailstore.h')
-rw-r--r--src/libraries/qmfclient/qmailstore.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libraries/qmfclient/qmailstore.h b/src/libraries/qmfclient/qmailstore.h
index a8ccf6ea..7f4a72e9 100644
--- a/src/libraries/qmfclient/qmailstore.h
+++ b/src/libraries/qmfclient/qmailstore.h
@@ -251,6 +251,7 @@ private:
friend class tst_QMailStore;
friend class tst_QMailStoreKeys;
friend class tst_qmailthread;
+ friend class tst_QMailStorageAction;
QMailStore();