messagingapp/msgnotifications/msgnotifier/inc/msgnotifier_p.h
changeset 37 518b245aa84c
parent 25 84d9eb65b26f
child 48 4f501b74aeb1
equal deleted inserted replaced
25:84d9eb65b26f 37:518b245aa84c
    23 
    23 
    24 // CLASS DECLARATION
    24 // CLASS DECLARATION
    25 class MsgNotifier;
    25 class MsgNotifier;
    26 class CCSRequestHandler;
    26 class CCSRequestHandler;
    27 class MsgStoreHandler;
    27 class MsgStoreHandler;
       
    28 class XQSettingsManager;
       
    29 class XQPublishAndSubscribeUtils;
       
    30 class XQSystemToneService;
    28 
    31 
    29 /**
    32 /**
    30  * @class MsgNotifierPrivate
    33  * @class MsgNotifierPrivate
    31  */
    34  */
    32 
    35 
    61      * asynchronously from the server 
    64      * asynchronously from the server 
    62      * @param aClientConversation CCsClientConversation The conversation object
    65      * @param aClientConversation CCsClientConversation The conversation object
    63      */
    66      */
    64     void DeleteConversationList(
    67     void DeleteConversationList(
    65             const CCsClientConversation& aClientConversation);
    68             const CCsClientConversation& aClientConversation);
       
    69     
       
    70 	/**
       
    71 	 * PartialDeleteConversationList
       
    72 	 * This is for handling partial delete of conversation event
       
    73 	 * Asynchronous
       
    74 	 * @param aClientConversation CCsClientConversation - The conversation object
       
    75 	 */
       
    76     void PartialDeleteConversationList(
       
    77             const CCsClientConversation& aClientConversation);
       
    78 
    66 
    79 
    67     /**  
    80     /**  
    68      * ModifyConversationList
    81      * ModifyConversationList
    69      * This is for handling modify conversation asynchronously
    82      * This is for handling modify conversation asynchronously
    70      * from the server 
    83      * from the server 
   122      * updateIndications
   135      * updateIndications
   123      * Activate/Deactivate message indications based on unread message count
   136      * Activate/Deactivate message indications based on unread message count
   124      * @param bootup, true, if called on bootup else false
   137      * @param bootup, true, if called on bootup else false
   125      */
   138      */
   126     void updateUnreadIndications(bool bootup = false);
   139     void updateUnreadIndications(bool bootup = false);
   127 
   140    
       
   141     /**
       
   142      * Show notification or not
       
   143      * @param receivedMsgConvId received message conversation id.
       
   144      * @return true if the received conversation id is not same as 
       
   145      * published conversation id ( opened conversation id) else false
       
   146      */
       
   147     bool showNotification(int receivedMsgConvId);
   128 private:
   148 private:
   129 
   149 
   130     /**
   150     /**
   131      * Pointer to msgnotifier
   151      * Pointer to msgnotifier
   132      */
   152      */
   139 
   159 
   140     /**
   160     /**
   141      * Pointer to Conversation Msg Store Handler.
   161      * Pointer to Conversation Msg Store Handler.
   142      */
   162      */
   143     MsgStoreHandler* iMsgStoreHandler;
   163     MsgStoreHandler* iMsgStoreHandler;
       
   164     
       
   165     /**
       
   166      * Settings manager 
       
   167      * Owned.
       
   168      */
       
   169     XQSettingsManager* mSettingsManager;
       
   170 
       
   171     /**
       
   172      * Publish and subscribe utils.
       
   173      * Owned.
       
   174      */
       
   175     XQPublishAndSubscribeUtils* mPSUtils;
       
   176     
       
   177     /**
       
   178      * Object to handle audio alert when new message is received
       
   179      */
       
   180     XQSystemToneService* mSts;
   144     };
   181     };
   145 
   182 
   146 #endif // MSGNOTIFIER_PRIVATE_H
   183 #endif // MSGNOTIFIER_PRIVATE_H
   147 //EOF
   184 //EOF