textinput/peninputarc/inc/pensrvcliinc/peninputanim.h
branchRCL_3
changeset 20 ebd48d2de13c
parent 7 6defe5d1bd39
child 21 ecbabf52600f
equal deleted inserted replaced
19:ac7e4d1d9209 20:ebd48d2de13c
    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;
    32 #include "peninputcmdparamext.h"
    33 #include "peninputcmdparamext.h"
    33 /**
    34 /**
    34  * Animation DLL creation class.
    35  * Animation DLL creation class.
    35  *
    36  *
    36  *
    37  *
    67 		}
    68 		}
    68 	};
    69 	};
    69 
    70 
    70 class MTactileFeedbackServer;
    71 class MTactileFeedbackServer;
    71 
    72 
       
    73 // Modify for bug ETMA-7X2C5Y begin
    72 class CPenPointerEventSuppressor;
    74 class CPenPointerEventSuppressor;
    73 
    75 // Modify for bug ETMA-7X2C5Y end
    74 /**
    76 /**
    75  * CPeninputAnim
    77  * CPeninputAnim
    76  *
    78  *
    77  * CSpriteAnim derived class handling the semi-transparent UI of the PENINPUT.
    79  * CSpriteAnim derived class handling the semi-transparent UI of the PENINPUT.
    78  *
    80  *
   290                               RArray<TRect>* aPrevRectArray = NULL);
   292                               RArray<TRect>* aPrevRectArray = NULL);
   291 
   293 
   292 #endif // RD_TACTILE_FEEDBACK  
   294 #endif // RD_TACTILE_FEEDBACK  
   293 
   295 
   294     void SetDSAState(TBool aFlag);
   296     void SetDSAState(TBool aFlag);
   295 	
       
   296     //For discreetPop
   297     //For discreetPop
   297     void SetDiscreeptPop(TRect aArea);
   298     static TInt DiscreetPopChangeNotification(TAny* aObj);
   298     
   299     void HandleDiscreetPopNotification();
       
   300     
       
   301     void Refresh();
   299 private:    // Data
   302 private:    // Data
   300     /**
   303     /**
   301      * Current state 
   304      * Current state 
   302      */
   305      */
   303     TBool iIsActive;
   306     TBool iIsActive;
   395 
   398 
   396     /**
   399     /**
   397      * Flag to detect primary touch device at startup
   400      * Flag to detect primary touch device at startup
   398      */
   401      */
   399     TBool  iPrimaryTouchPtDetected;
   402     TBool  iPrimaryTouchPtDetected;
   400 	
   403     CSubscriber*    iDiscreetPopSubscriber;
   401     /**
   404     RProperty       iDiscreetPopProperty;
   402      * Flag there is a discreept popped
       
   403      */	
       
   404     TBool iDiscreetPoped;
   405     TBool iDiscreetPoped;
   405 	
       
   406     /**
       
   407      * Flag need capture for key event when discreept pop
       
   408      */	
       
   409     TBool iDiscreetPopedCapture;
   406     TBool iDiscreetPopedCapture;
   410 	
       
   411     /**
       
   412      * the discreept pop area
       
   413      */	
       
   414     TRect iDiscreetPopArea;
   407     TRect iDiscreetPopArea;
   415     
   408     RAknUiServer iAknUiSrv; 
   416     TPoint iPointerDown;  // record pointer that button is pressing in  
   409     TBool iDirty;
   417     TBool iIsMove;  //  Is key moving event happened. 
       
   418     };
   410     };
   419 
   411 
   420 
   412 
   421 
   413 
       
   414 class CSubscriber : public CActive
       
   415     {
       
   416 public:
       
   417     CSubscriber(TCallBack aCallBack, RProperty& aProperty);
       
   418     ~CSubscriber();
       
   419 
       
   420 public: // New functions
       
   421     void SubscribeL();
       
   422     void StopSubscribe();
       
   423 
       
   424 private: // from CActive
       
   425     void RunL();
       
   426     void DoCancel();
       
   427 
       
   428 private:
       
   429     TCallBack   iCallBack;
       
   430     RProperty&  iProperty;
       
   431     };
   422 #endif //C_CPENINPUTANIMDLL_H
   432 #endif //C_CPENINPUTANIMDLL_H
   423 // End of File
   433 // End of File