27 #include <e32property.h> |
27 #include <e32property.h> |
28 #include <AknCapServerClient.h> |
28 #include <AknCapServerClient.h> |
29 |
29 |
30 #include "peninputmsgqueue.h" |
30 #include "peninputmsgqueue.h" |
31 |
31 |
32 class CSubscriber; |
|
33 #include "peninputcmdparamext.h" |
32 #include "peninputcmdparamext.h" |
34 /** |
33 /** |
35 * Animation DLL creation class. |
34 * Animation DLL creation class. |
36 * |
35 * |
37 * |
36 * |
398 |
396 |
399 /** |
397 /** |
400 * Flag to detect primary touch device at startup |
398 * Flag to detect primary touch device at startup |
401 */ |
399 */ |
402 TBool iPrimaryTouchPtDetected; |
400 TBool iPrimaryTouchPtDetected; |
403 CSubscriber* iDiscreetPopSubscriber; |
401 |
404 RProperty iDiscreetPopProperty; |
402 /** |
|
403 * Flag there is a discreept popped |
|
404 */ |
405 TBool iDiscreetPoped; |
405 TBool iDiscreetPoped; |
|
406 |
|
407 /** |
|
408 * Flag need capture for key event when discreept pop |
|
409 */ |
406 TBool iDiscreetPopedCapture; |
410 TBool iDiscreetPopedCapture; |
|
411 |
|
412 /** |
|
413 * the discreept pop area |
|
414 */ |
407 TRect iDiscreetPopArea; |
415 TRect iDiscreetPopArea; |
408 RAknUiServer iAknUiSrv; |
|
409 TBool iDirty; |
|
410 |
416 |
411 /** |
417 /** |
412 * Fix bug HMNN-82CDU5 |
418 * Fix bug HMNN-82CDU5 |
413 */ |
419 */ |
414 TPoint iPointerDown; // record pointer that button is pressing in |
420 TPoint iPointerDown; // record pointer that button is pressing in |
415 TBool iIsMove; // Is key moving event happened. |
421 TBool iIsMove; // Is key moving event happened. |
416 }; |
422 }; |
417 |
423 |
418 |
424 |
419 |
425 |
420 class CSubscriber : public CActive |
|
421 { |
|
422 public: |
|
423 CSubscriber(TCallBack aCallBack, RProperty& aProperty); |
|
424 ~CSubscriber(); |
|
425 |
|
426 public: // New functions |
|
427 void SubscribeL(); |
|
428 void StopSubscribe(); |
|
429 |
|
430 private: // from CActive |
|
431 void RunL(); |
|
432 void DoCancel(); |
|
433 |
|
434 private: |
|
435 TCallBack iCallBack; |
|
436 RProperty& iProperty; |
|
437 }; |
|
438 #endif //C_CPENINPUTANIMDLL_H |
426 #endif //C_CPENINPUTANIMDLL_H |
439 // End of File |
427 // End of File |