--- a/phonebookui/Phonebook2/GroupExtension/inc/CPguGroupMembersView.h Thu Jul 15 18:22:55 2010 +0300
+++ b/phonebookui/Phonebook2/GroupExtension/inc/CPguGroupMembersView.h Thu Aug 19 09:41:07 2010 +0300
@@ -24,6 +24,7 @@
#include <vwsdef.h>
#include <MPbk2UIExtensionView.h>
#include <eiklbo.h>
+#include <aknmarkingmodeobserver.h>
// FORWARD DECLARATIONS
class CPbk2UIExtensionView;
@@ -82,7 +83,8 @@
class CPguGroupMembersView : public CBase,
public MPbk2UIExtensionView,
public MEikListBoxObserver,
- private MPbk2GroupMembersViewActivationCallback
+ private MPbk2GroupMembersViewActivationCallback,
+ public MAknMarkingModeObserver
{
@@ -125,6 +127,23 @@
const TPoint& aPenEventLocation,
const TPoint& aPenEventScreenLocation );
+ public: // From MAknMarkingModeObserver
+
+ /**
+ * This method is called when marking mode is activated or deactivated.
+ *
+ * @param aActivated @c ETrue if marking mode was activate, @c EFalse
+ * if marking mode was deactivated.
+ */
+ void MarkingModeStatusChanged( TBool aActivated );
+
+ /**
+ * This method is called just before marking mode is closed. Client can
+ * either accept or decline closing.
+ *
+ * @return @c ETrue if marking mode should be closed, otherwise @c EFalse.
+ */
+ TBool ExitMarkingMode() const;
protected:
// from MEikListBoxObserver
@@ -152,7 +171,6 @@
void ReturnToPreviousViewL() const;
void ShowContextMenuL();
-
private: // Data
/// Ref: View that contains this extension view
CPbk2UIExtensionView& iView;