equal
deleted
inserted
replaced
20 #define CONVERSATIONS_ENGINE_PRIVATE_H |
20 #define CONVERSATIONS_ENGINE_PRIVATE_H |
21 |
21 |
22 // SYSTEM INCLUDES |
22 // SYSTEM INCLUDES |
23 #include <ccsrequesthandler.h> |
23 #include <ccsrequesthandler.h> |
24 #include <mcsresultsobserver.h> |
24 #include <mcsresultsobserver.h> |
25 |
25 #include <msvstd.h> |
26 // USER INCLUDES |
26 // USER INCLUDES |
27 |
27 |
28 // FORWARD DECLARATIONS |
28 // FORWARD DECLARATIONS |
29 class CCsClientConversation; |
29 class CCsClientConversation; |
30 class ConversationsSummaryModel; |
30 class ConversationsSummaryModel; |
82 |
82 |
83 /** |
83 /** |
84 * Delete all messages. |
84 * Delete all messages. |
85 * @param msgIdList, message list. |
85 * @param msgIdList, message list. |
86 */ |
86 */ |
87 void deleteMessages(RArray<TInt>& aIdArray); |
87 void deleteMessages(RArray<TInt>& aIdArray); |
|
88 |
|
89 /** |
|
90 * Delete all draft messages. |
|
91 */ |
|
92 void deleteAllDraftMessagesL(); |
88 |
93 |
89 /** |
94 /** |
90 * Marks the unread conversations as read |
95 * Marks the unread conversations as read |
91 * @param conversationId, conversationId |
96 * @param conversationId, conversationId |
92 */ |
97 */ |
129 |
134 |
130 /** |
135 /** |
131 * Starts fetching remaing conversations |
136 * Starts fetching remaing conversations |
132 */ |
137 */ |
133 void fetchMoreConversations(); |
138 void fetchMoreConversations(); |
|
139 |
|
140 |
|
141 /** |
|
142 * Resend a failed message |
|
143 * @param messageId TMsvId The msv id of the entry to resend |
|
144 * @return bool true if success |
|
145 */ |
|
146 bool resendMessage(TMsvId messageId); |
|
147 |
|
148 /** |
|
149 * Download a specified message |
|
150 * @param aId TMsvId of the message |
|
151 * @return KErrNone if Download request is successful, |
|
152 * KErrNotFound if settings are not available, |
|
153 * KErrGeneral for other cases |
|
154 */ |
|
155 TInt downloadMessage(TMsvId messageId); |
|
156 |
|
157 /** |
|
158 * Query if the download operation be performed for |
|
159 * a message notification entry |
|
160 * @param aId, message notification id |
|
161 * @return true if download operation is possible |
|
162 */ |
|
163 bool downloadOperationSupported(TMsvId messageId); |
134 |
164 |
135 public: // From MCsResultsObserver |
165 public: // From MCsResultsObserver |
136 |
166 |
137 /** |
167 /** |
138 * ConversationList |
168 * ConversationList |