messagingapp/msgui/appengine/inc/conversationlistchangehandler.h
changeset 44 36f374c67aa8
parent 23 238255e8b033
equal deleted inserted replaced
43:35b64624a9e7 44:36f374c67aa8
   108      * @param aClientConversation client conversation 
   108      * @param aClientConversation client conversation 
   109      */
   109      */
   110 
   110 
   111     void ModifyConversationList(
   111     void ModifyConversationList(
   112         const CCsClientConversation& aClientConversation);
   112         const CCsClientConversation& aClientConversation);
   113 
   113     
       
   114 	/**
       
   115 	 * PartialDeleteConversationList
       
   116 	 * This is for handling the partial delete of conversation event from server
       
   117 	 * @param aClientConversation CCsClientConversation& - reference to client conversation
       
   118 	 */
       
   119     void PartialDeleteConversationList(
       
   120             const CCsClientConversation& aClientConversation);
   114     /**
   121     /**
   115      * RefreshConversationList
   122      * RefreshConversationList
   116      * This is for handling refresh asynchronusly from the server.
   123      * This is for handling refresh asynchronusly from the server.
   117      */
   124      */
   118     void RefreshConversationList();
   125     void RefreshConversationList();
   127 
   134 
   128     /** 
   135     /** 
   129      * Handles Conversation List received from server and updates into model
   136      * Handles Conversation List received from server and updates into model
   130      */
   137      */
   131     void HandleConversationListL();
   138     void HandleConversationListL();
   132 
   139     
       
   140     /**
       
   141      * CompareByConvTimeStamp
       
   142      * Helper method to compare conversations by timestamp
       
   143      * 
       
   144      * @param aObj1  CCsConversation object
       
   145      * @param aObj2  CCsConversation object
       
   146      * @return value based of timestamp comparison
       
   147      */
       
   148     static TInt CompareByConvTimeStamp(const CCsClientConversation& aObj1,
       
   149             const CCsClientConversation& aObj2);
       
   150    
   133 private:
   151 private:
   134     // data
   152     // data
   135 
   153 
   136     enum ConvListChangeHandlerStates
   154     enum ConvListChangeHandlerStates
   137     {
   155     {