messagingapp/msgnotifications/msgnotifier/inc/msgnotifier_p.h
changeset 27 e4592d119491
parent 25 84d9eb65b26f
child 47 5b14749788d7
equal deleted inserted replaced
25:84d9eb65b26f 27:e4592d119491
    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;
    28 
    30 
    29 /**
    31 /**
    30  * @class MsgNotifierPrivate
    32  * @class MsgNotifierPrivate
    31  */
    33  */
    32 
    34 
   122      * updateIndications
   124      * updateIndications
   123      * Activate/Deactivate message indications based on unread message count
   125      * Activate/Deactivate message indications based on unread message count
   124      * @param bootup, true, if called on bootup else false
   126      * @param bootup, true, if called on bootup else false
   125      */
   127      */
   126     void updateUnreadIndications(bool bootup = false);
   128     void updateUnreadIndications(bool bootup = false);
   127 
   129    
       
   130     /**
       
   131      * Show notification or not
       
   132      * @param receivedMsgConvId received message conversation id.
       
   133      * @return true if the received conversation id is not same as 
       
   134      * published conversation id ( opened conversation id) else false
       
   135      */
       
   136     bool showNotification(int receivedMsgConvId);
   128 private:
   137 private:
   129 
   138 
   130     /**
   139     /**
   131      * Pointer to msgnotifier
   140      * Pointer to msgnotifier
   132      */
   141      */
   139 
   148 
   140     /**
   149     /**
   141      * Pointer to Conversation Msg Store Handler.
   150      * Pointer to Conversation Msg Store Handler.
   142      */
   151      */
   143     MsgStoreHandler* iMsgStoreHandler;
   152     MsgStoreHandler* iMsgStoreHandler;
       
   153     
       
   154     /**
       
   155      * Settings manager 
       
   156      * Owned.
       
   157      */
       
   158     XQSettingsManager* mSettingsManager;
       
   159 
       
   160     /**
       
   161      * Publish and subscribe utils.
       
   162      * Owned.
       
   163      */
       
   164     XQPublishAndSubscribeUtils* mPSUtils;
   144     };
   165     };
   145 
   166 
   146 #endif // MSGNOTIFIER_PRIVATE_H
   167 #endif // MSGNOTIFIER_PRIVATE_H
   147 //EOF
   168 //EOF