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