equal
deleted
inserted
replaced
22 // INCLUDES |
22 // INCLUDES |
23 #include <e32base.h> |
23 #include <e32base.h> |
24 #include <vwsdef.h> |
24 #include <vwsdef.h> |
25 #include <MPbk2UIExtensionView.h> |
25 #include <MPbk2UIExtensionView.h> |
26 #include <eiklbo.h> |
26 #include <eiklbo.h> |
|
27 #include <aknmarkingmodeobserver.h> |
27 |
28 |
28 // FORWARD DECLARATIONS |
29 // FORWARD DECLARATIONS |
29 class CPbk2UIExtensionView; |
30 class CPbk2UIExtensionView; |
30 class CPbk2NamesListControl; |
31 class CPbk2NamesListControl; |
31 class CPbk2ContactNavigation; |
32 class CPbk2ContactNavigation; |
80 * Phonebook 2 group members view. |
81 * Phonebook 2 group members view. |
81 */ |
82 */ |
82 class CPguGroupMembersView : public CBase, |
83 class CPguGroupMembersView : public CBase, |
83 public MPbk2UIExtensionView, |
84 public MPbk2UIExtensionView, |
84 public MEikListBoxObserver, |
85 public MEikListBoxObserver, |
85 private MPbk2GroupMembersViewActivationCallback |
86 private MPbk2GroupMembersViewActivationCallback, |
|
87 public MAknMarkingModeObserver |
86 |
88 |
87 |
89 |
88 { |
90 { |
89 public: // Construction and destruction |
91 public: // Construction and destruction |
90 |
92 |
123 const TPointerEvent& aPointerEvent ); |
125 const TPointerEvent& aPointerEvent ); |
124 void HandleLongTapEventL( |
126 void HandleLongTapEventL( |
125 const TPoint& aPenEventLocation, |
127 const TPoint& aPenEventLocation, |
126 const TPoint& aPenEventScreenLocation ); |
128 const TPoint& aPenEventScreenLocation ); |
127 |
129 |
|
130 public: // From MAknMarkingModeObserver |
|
131 |
|
132 /** |
|
133 * This method is called when marking mode is activated or deactivated. |
|
134 * |
|
135 * @param aActivated @c ETrue if marking mode was activate, @c EFalse |
|
136 * if marking mode was deactivated. |
|
137 */ |
|
138 void MarkingModeStatusChanged( TBool aActivated ); |
|
139 |
|
140 /** |
|
141 * This method is called just before marking mode is closed. Client can |
|
142 * either accept or decline closing. |
|
143 * |
|
144 * @return @c ETrue if marking mode should be closed, otherwise @c EFalse. |
|
145 */ |
|
146 TBool ExitMarkingMode() const; |
128 |
147 |
129 protected: |
148 protected: |
130 // from MEikListBoxObserver |
149 // from MEikListBoxObserver |
131 void HandleListBoxEventL( CEikListBox* aListBox, TListBoxEvent aEventType ); |
150 void HandleListBoxEventL( CEikListBox* aListBox, TListBoxEvent aEventType ); |
132 |
151 |
150 class CGroupMembersAllGroupsNotReady; |
169 class CGroupMembersAllGroupsNotReady; |
151 class CGroupMembersAllGroupsReady; |
170 class CGroupMembersAllGroupsReady; |
152 void ReturnToPreviousViewL() const; |
171 void ReturnToPreviousViewL() const; |
153 void ShowContextMenuL(); |
172 void ShowContextMenuL(); |
154 |
173 |
155 |
|
156 private: // Data |
174 private: // Data |
157 /// Ref: View that contains this extension view |
175 /// Ref: View that contains this extension view |
158 CPbk2UIExtensionView& iView; |
176 CPbk2UIExtensionView& iView; |
159 /// Own: Stored control state |
177 /// Own: Stored control state |
160 CPbk2ViewState* iControlState; |
178 CPbk2ViewState* iControlState; |