textinput/peninputarc/inc/pensrvcliinc/peninputanim.h
branchRCL_3
changeset 6 6ceef9a83b1a
parent 5 a47de9135b21
child 7 6defe5d1bd39
equal deleted inserted replaced
5:a47de9135b21 6:6ceef9a83b1a
    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  *
   292                               RArray<TRect>* aPrevRectArray = NULL);
   291                               RArray<TRect>* aPrevRectArray = NULL);
   293 
   292 
   294 #endif // RD_TACTILE_FEEDBACK  
   293 #endif // RD_TACTILE_FEEDBACK  
   295 
   294 
   296     void SetDSAState(TBool aFlag);
   295     void SetDSAState(TBool aFlag);
       
   296 	
   297     //For discreetPop
   297     //For discreetPop
   298     static TInt DiscreetPopChangeNotification(TAny* aObj);
   298     void SetDiscreeptPop(TRect aArea);
   299     void HandleDiscreetPopNotification();
   299     
   300     
       
   301     void Refresh();
       
   302 private:    // Data
   300 private:    // Data
   303     /**
   301     /**
   304      * Current state 
   302      * Current state 
   305      */
   303      */
   306     TBool iIsActive;
   304     TBool iIsActive;
   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