messagingapp/msgui/appengine/inc/conversationchangehandler.h
changeset 52 12db4185673b
parent 23 238255e8b033
--- a/messagingapp/msgui/appengine/inc/conversationchangehandler.h	Tue Jul 06 14:12:40 2010 +0300
+++ b/messagingapp/msgui/appengine/inc/conversationchangehandler.h	Wed Aug 18 09:45:25 2010 +0300
@@ -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.
      */