equal
deleted
inserted
replaced
22 // INCLUDES |
22 // INCLUDES |
23 #include <eiklbo.h> |
23 #include <eiklbo.h> |
24 #include <ccappviewpluginakncontainer.h> |
24 #include <ccappviewpluginakncontainer.h> |
25 #include "ccappmycard.h" |
25 #include "ccappmycard.h" |
26 #include "ccappmycardimageloader.h" |
26 #include "ccappmycardimageloader.h" |
27 #include <mpbk2contactuicontrol.h> |
27 #include <MPbk2ContactUiControl.h> |
|
28 #include <aknlongtapdetector.h> |
28 #include "ccappmycardheadercontrol.h" |
29 #include "ccappmycardheadercontrol.h" |
29 |
30 |
30 #include "ccappstatuscontrol.h" |
31 #include "ccappstatuscontrol.h" |
31 |
32 |
32 class CCCAppMyCardPlugin; |
33 class CCCAppMyCardPlugin; |
53 public MMyCardObserver, |
54 public MMyCardObserver, |
54 public MMyCardImageLoaderObserver, |
55 public MMyCardImageLoaderObserver, |
55 public MEikListBoxObserver, |
56 public MEikListBoxObserver, |
56 public MPbk2ContactUiControl, |
57 public MPbk2ContactUiControl, |
57 public MCCAStatusControlObserver, |
58 public MCCAStatusControlObserver, |
58 public MMyCardHeaderControlObserver |
59 public MMyCardHeaderControlObserver, |
|
60 public MAknLongTapDetectorCallBack |
59 { |
61 { |
60 public: // constructor and destructor |
62 public: // constructor and destructor |
61 |
63 |
62 /** |
64 /** |
63 * CCCAppMyCardContainer. |
65 * CCCAppMyCardContainer. |
138 |
140 |
139 /* |
141 /* |
140 * From MMyCardHeaderControlObserver |
142 * From MMyCardHeaderControlObserver |
141 */ |
143 */ |
142 void MyCardHeaderControlClickL( TPoint aPos ); |
144 void MyCardHeaderControlClickL( TPoint aPos ); |
|
145 |
|
146 /** |
|
147 * Default callback function for CAknLongTapDetector member object. |
|
148 * Base class implementation does nothing |
|
149 * |
|
150 * @param aPenEventLocation Long tap event location relative to parent control. |
|
151 * @param aPenEventScreenLocation Long tap event location relative to screen. |
|
152 */ |
|
153 void HandleLongTapEventL( const TPoint& aPenEventLocation, |
|
154 const TPoint& aPenEventScreenLocation ); |
|
155 |
|
156 /** |
|
157 * From CoeControl |
|
158 * Overridden to receive pointer events |
|
159 */ |
|
160 void HandlePointerEventL( const TPointerEvent& aPointerEvent ); |
|
161 |
143 |
162 |
144 public: // New |
163 public: // New |
145 |
164 |
146 /** |
165 /** |
147 * Getter for plugin reference. |
166 * Getter for plugin reference. |
204 TBool aBlank ); |
223 TBool aBlank ); |
205 void RegisterCommand( |
224 void RegisterCommand( |
206 MPbk2Command* aCommand ); |
225 MPbk2Command* aCommand ); |
207 void SetTextL( |
226 void SetTextL( |
208 const TDesC& aText ); |
227 const TDesC& aText ); |
209 TAny* ContactUiControlExtension(TUid aExtensionUid ); |
228 TAny* ContactUiControlExtension(TUid aExtensionUid ); |
210 void ProcessCommandL( TInt aCommandId ) const; |
229 void ProcessCommandL( TInt aCommandId ) const; |
211 |
230 |
212 /* |
231 /* |
213 * Checks the ecom implementations available and lauches the first |
232 * Checks the ecom implementations available and lauches the first |
214 * with correct UID |
233 * with correct UID |
310 * Own. |
329 * Own. |
311 */ |
330 */ |
312 CCCaFactoryExtensionNotifier* iFactoryExtensionNotifier; |
331 CCCaFactoryExtensionNotifier* iFactoryExtensionNotifier; |
313 |
332 |
314 TInt iNameOrder; |
333 TInt iNameOrder; |
|
334 |
|
335 /** |
|
336 * iLongTapDetector |
|
337 * Own. |
|
338 */ |
|
339 CAknLongTapDetector* iLongTapDetector; |
|
340 |
|
341 /** |
|
342 * Contact detail selection stylus popup menu |
|
343 * Own. |
|
344 */ |
|
345 CAknStylusPopUpMenu* iDetailsPopup; |
|
346 |
|
347 /* |
|
348 * Flag for checking if Stylys opened |
|
349 */ |
|
350 TBool iLongTapHandled; |
315 }; |
351 }; |
316 |
352 |
317 #endif // CCAPPMYCARDCONTAINER_H |
353 #endif // CCAPPMYCARDCONTAINER_H |
318 |
354 |
319 // End of File |
355 // End of File |