diff -r 84d9eb65b26f -r e4592d119491 messagingapp/msgnotifications/msgnotifier/inc/msgnotifier_p.h --- a/messagingapp/msgnotifications/msgnotifier/inc/msgnotifier_p.h Mon May 03 12:29:07 2010 +0300 +++ b/messagingapp/msgnotifications/msgnotifier/inc/msgnotifier_p.h Fri May 14 15:49:35 2010 +0300 @@ -25,6 +25,8 @@ class MsgNotifier; class CCSRequestHandler; class MsgStoreHandler; +class XQSettingsManager; +class XQPublishAndSubscribeUtils; /** * @class MsgNotifierPrivate @@ -124,7 +126,14 @@ * @param bootup, true, if called on bootup else false */ void updateUnreadIndications(bool bootup = false); - + + /** + * Show notification or not + * @param receivedMsgConvId received message conversation id. + * @return true if the received conversation id is not same as + * published conversation id ( opened conversation id) else false + */ + bool showNotification(int receivedMsgConvId); private: /** @@ -141,6 +150,18 @@ * Pointer to Conversation Msg Store Handler. */ MsgStoreHandler* iMsgStoreHandler; + + /** + * Settings manager + * Owned. + */ + XQSettingsManager* mSettingsManager; + + /** + * Publish and subscribe utils. + * Owned. + */ + XQPublishAndSubscribeUtils* mPSUtils; }; #endif // MSGNOTIFIER_PRIVATE_H