--- a/messagingapp/msgui/appengine/inc/conversationchangehandler.h Tue Jul 13 22:09:22 2010 +0530
+++ b/messagingapp/msgui/appengine/inc/conversationchangehandler.h Sun Jul 25 18:59:19 2010 +0530
@@ -82,10 +82,18 @@
*
* @param aConversationEntryList List of conversation entries
* returned by server.
+ * @param aTotalCount total number of conversation entries
*/
void ConversationsL(
- RPointerArray<CCsConversationEntry>& aConversationEntryList);
+ RPointerArray<CCsConversationEntry>& aConversationEntryList,
+ TInt& aTotalCount);
+
+ /**
+ * ResetValuesForNewConversation
+ * Resets the values of flags, and indexes for a new conversation
+ */
+ void ResetValuesForNewConversation();
public://MCsConversationChangeObserver
/**
@@ -134,7 +142,13 @@
* Handles Conversations received from server and updates into model
*/
void HandleConversationsL();
-
+
+ /**
+ * Fetch remaning conversations from Server Cache
+ * @param aCount - count of conversations added to entry list
+ */
+ void FetchRemainingConversations(TInt aCount);
+
private:
// Data
@@ -145,6 +159,7 @@
{
EInit = 500,
EInitialCache,
+ EFetchMoreConversations,
EListenToEvents
};
@@ -167,6 +182,11 @@
TInt mCurrentIndex;
/**
+ * Total count of conversation entries in the Conversation
+ * Own
+ */
+ TInt mTotalCount;
+ /**
* ConversationsModel Object
* Not Own.
*/