Changeset View
Changeset View
Standalone View
Standalone View
src/server/handler/itemcreatehandler.h
Show All 22 Lines | |||||
23 | #include "handler.h" | 23 | #include "handler.h" | ||
24 | #include "entities.h" | 24 | #include "entities.h" | ||
25 | 25 | | |||
26 | namespace Akonadi | 26 | namespace Akonadi | ||
27 | { | 27 | { | ||
28 | namespace Server | 28 | namespace Server | ||
29 | { | 29 | { | ||
30 | 30 | | |||
31 | class Transaction; | ||||
32 | | ||||
31 | /** | 33 | /** | ||
32 | @ingroup akonadi_server_handler | 34 | @ingroup akonadi_server_handler | ||
33 | 35 | | |||
34 | Handler for the X-AKAPPEND command. | 36 | Handler for the X-AKAPPEND command. | ||
35 | 37 | | |||
36 | This command is used to append an item with multiple parts. | 38 | This command is used to append an item with multiple parts. | ||
37 | 39 | | |||
38 | */ | 40 | */ | ||
Show All 18 Lines | 57 | bool mergeItem(const Protocol::CreateItemCommand &cmd, | |||
57 | PimItem ¤tItem, | 59 | PimItem ¤tItem, | ||
58 | const Collection &parentCollection); | 60 | const Collection &parentCollection); | ||
59 | 61 | | |||
60 | bool sendResponse(const PimItem &item, Protocol::CreateItemCommand::MergeModes mergeModes); | 62 | bool sendResponse(const PimItem &item, Protocol::CreateItemCommand::MergeModes mergeModes); | ||
61 | 63 | | |||
62 | bool notify(const PimItem &item, bool seen, const Collection &collection); | 64 | bool notify(const PimItem &item, bool seen, const Collection &collection); | ||
63 | bool notify(const PimItem &item, const Collection &collection, | 65 | bool notify(const PimItem &item, const Collection &collection, | ||
64 | const QSet<QByteArray> &changedParts); | 66 | const QSet<QByteArray> &changedParts); | ||
67 | | ||||
68 | void recoverFromMultipleMergeCandidates(const PimItem::List &items, const Collection &collection); | ||||
65 | }; | 69 | }; | ||
66 | 70 | | |||
67 | } // namespace Server | 71 | } // namespace Server | ||
68 | } // namespace Akonadi | 72 | } // namespace Akonadi | ||
69 | 73 | | |||
70 | #endif | 74 | #endif |