diff -r fc3320e39880 -r 17302fa075e1 messagingappbase/mce/inc/MceMessageListView.h --- a/messagingappbase/mce/inc/MceMessageListView.h Tue Sep 14 21:11:56 2010 +0300 +++ b/messagingappbase/mce/inc/MceMessageListView.h Wed Sep 15 12:08:45 2010 +0300 @@ -27,6 +27,7 @@ #include #include #include +#include #include "MceMessageListContainer.h" @@ -633,6 +634,29 @@ * screen. aClearer is used in CMceUi::HandleGainingForeground() when returning from viewers. */ void GetLocalScreenClearer( CAknLocalScreenClearer** &aClearer ); + /** + * Set the iMarkingModeOn variable if MarkingMode is switched on + * @aValue: The value to be set to iMarkingModeOn variable + * Since 9.2 + */ + void SetMarkingMode( TBool aMarkingModeOn ); + /** + * Get the iMarkingModeOn variable + * @return: the value of iMarkingModeOn + * Since 9.2 + */ + TBool MarkingMode() const; + /** + * Get iMsgListContainer->MessageCount() variable + * @return: The value of MessageCount() + * Since 9.2 + */ + TInt MessageCount() const; + /** + * Set the MarkingMode off and inform the same to container + * Since 9.2 + */ + void SetMarkingModeOff(); private: // Data @@ -678,6 +702,8 @@ TBool iReadUnread; //Variable for context command TBool iContextCommand; + //To indicate if marking mode is on/off + TBool iMarkingModeOn; }; inline void CMceMessageListView::UpdateViewL()