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> |
|
28 |
27 |
29 // FORWARD DECLARATIONS |
28 // FORWARD DECLARATIONS |
30 class CPbk2UIExtensionView; |
29 class CPbk2UIExtensionView; |
31 class CPbk2NamesListControl; |
30 class CPbk2NamesListControl; |
32 class CPbk2ContactNavigation; |
31 class CPbk2ContactNavigation; |
81 * Phonebook 2 group members view. |
80 * Phonebook 2 group members view. |
82 */ |
81 */ |
83 class CPguGroupMembersView : public CBase, |
82 class CPguGroupMembersView : public CBase, |
84 public MPbk2UIExtensionView, |
83 public MPbk2UIExtensionView, |
85 public MEikListBoxObserver, |
84 public MEikListBoxObserver, |
86 private MPbk2GroupMembersViewActivationCallback, |
85 private MPbk2GroupMembersViewActivationCallback |
87 public MAknMarkingModeObserver |
|
88 |
86 |
89 |
87 |
90 { |
88 { |
91 public: // Construction and destruction |
89 public: // Construction and destruction |
92 |
90 |
125 const TPointerEvent& aPointerEvent ); |
123 const TPointerEvent& aPointerEvent ); |
126 void HandleLongTapEventL( |
124 void HandleLongTapEventL( |
127 const TPoint& aPenEventLocation, |
125 const TPoint& aPenEventLocation, |
128 const TPoint& aPenEventScreenLocation ); |
126 const TPoint& aPenEventScreenLocation ); |
129 |
127 |
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; |
|
147 |
128 |
148 protected: |
129 protected: |
149 // from MEikListBoxObserver |
130 // from MEikListBoxObserver |
150 void HandleListBoxEventL( CEikListBox* aListBox, TListBoxEvent aEventType ); |
131 void HandleListBoxEventL( CEikListBox* aListBox, TListBoxEvent aEventType ); |
151 |
132 |
169 class CGroupMembersAllGroupsNotReady; |
150 class CGroupMembersAllGroupsNotReady; |
170 class CGroupMembersAllGroupsReady; |
151 class CGroupMembersAllGroupsReady; |
171 void ReturnToPreviousViewL() const; |
152 void ReturnToPreviousViewL() const; |
172 void ShowContextMenuL(); |
153 void ShowContextMenuL(); |
173 |
154 |
|
155 |
174 private: // Data |
156 private: // Data |
175 /// Ref: View that contains this extension view |
157 /// Ref: View that contains this extension view |
176 CPbk2UIExtensionView& iView; |
158 CPbk2UIExtensionView& iView; |
177 /// Own: Stored control state |
159 /// Own: Stored control state |
178 CPbk2ViewState* iControlState; |
160 CPbk2ViewState* iControlState; |