messagingapp/msgui/appengine/inc/conversationsengine.h
branchGCC_SURGE
changeset 47 5b14749788d7
parent 27 e4592d119491
parent 44 36f374c67aa8
equal deleted inserted replaced
35:a32b19fb291e 47:5b14749788d7
   159      * Emits conversationModelUpdated signal
   159      * Emits conversationModelUpdated signal
   160      */ 
   160      */ 
   161     void emitConversationModelUpdated();
   161     void emitConversationModelUpdated();
   162     
   162     
   163     /**
   163     /**
       
   164      * Updates the new conversation id for list view
       
   165      */
       
   166     void emitOpenConversationViewIdUpdate(int newConversationId);
       
   167     
       
   168     void disableRegisterationForCVEvents();
       
   169     
       
   170     /**
   164      * Emits conversationListModelPopulated signal
   171      * Emits conversationListModelPopulated signal
   165      */ 
   172      */ 
   166     void emitConversationListModelPopulated();
   173     void emitConversationListModelPopulated();
   167 
   174 
       
   175     /**
       
   176      * Emits conversationListModelEntryDeleted
       
   177      */
       
   178     void emitConversationListModelEntryDeleted( int conversationId );
       
   179     
   168     /**
   180     /**
   169      *  Starts fetching remaing conversations
   181      *  Starts fetching remaing conversations
   170      */
   182      */
   171     void fetchMoreConversations();
   183     void fetchMoreConversations();
   172 
   184 
   208      * Get SQL DB handle
   220      * Get SQL DB handle
   209      * @param isOpen, set to true if open, check this before using the handle
   221      * @param isOpen, set to true if open, check this before using the handle
   210      */
   222      */
   211     RSqlDatabase& getDBHandle(TBool& isOpen);
   223     RSqlDatabase& getDBHandle(TBool& isOpen);
   212     
   224     
       
   225     /**
       
   226      * Get the biotype of a message
       
   227      * @param messageId
       
   228      */
       
   229     int getMsgSubType(int messageId);
       
   230     
   213 private:
   231 private:
   214 
   232 
   215     /**
   233     /**
   216      * Constructor
   234      * Constructor
   217      */
   235      */
   235      * ConversationListModelPopulated signal indicating 
   253      * ConversationListModelPopulated signal indicating 
   236      * that the model is ready to be displayed
   254      * that the model is ready to be displayed
   237      */
   255      */
   238     void conversationListModelPopulated();
   256     void conversationListModelPopulated();
   239     
   257     
       
   258 	/** 
       
   259 	 * Signal to indicate the completion of conversation delete
       
   260 	 * operation.
       
   261 	 */
       
   262      void conversationListEntryDeleted( int conversationId );
       
   263 	 
       
   264     /**
       
   265      * Signal to specify the CV model empty now
       
   266      */
       
   267     void conversationViewEmpty();
       
   268     
   240 private:
   269 private:
   241 
   270 
   242     /**
   271     /**
   243      * Conversations Summary Model
   272      * Conversations Summary Model
   244      * Own
   273      * Own