textinput/peninputarc/inc/peninputlayoutcontrolinc/peninputlayout.h
branchRCL_3
changeset 20 ebd48d2de13c
parent 12 5e18d8c489d6
child 21 ecbabf52600f
equal deleted inserted replaced
19:ac7e4d1d9209 20:ebd48d2de13c
    28 #endif //RD_TACTILE_FEEDBACK
    28 #endif //RD_TACTILE_FEEDBACK
    29 #include "peninputlayoutminterface.h"
    29 #include "peninputlayoutminterface.h"
    30 #include "peninputlayoutbasecontrol.h"
    30 #include "peninputlayoutbasecontrol.h"
    31 #include "peninputcmdparam.h"
    31 #include "peninputcmdparam.h"
    32 
    32 
    33 class MAknsSkinInstance;
       
    34 class CFepUiCursor;
    33 class CFepUiCursor;
    35 
    34 
    36 class CControlGroup;
    35 class CControlGroup;
    37 class CDragBar;
    36 class CDragBar;
    38 class CFepUiLayoutRootCtrl;
    37 class CFepUiLayoutRootCtrl;
   543 	 * @param aNewTactileType new feedback type.
   542 	 * @param aNewTactileType new feedback type.
   544 	 * 
   543 	 * 
   545 	 */      
   544 	 */      
   546 	//Advanced Tactile feedback REQ417-47932
   545 	//Advanced Tactile feedback REQ417-47932
   547 	IMPORT_C void ChangeFeedbackType(TInt aId, TInt aNewTactileType);  
   546 	IMPORT_C void ChangeFeedbackType(TInt aId, TInt aNewTactileType);  
   548 	
       
   549     IMPORT_C TBool NotDrawToLayoutDevice();
       
   550     IMPORT_C void DisableLayoutDrawing(TBool aFlag);
       
   551     /**
       
   552      * Get the layout SkinInstance
       
   553      *
       
   554      * @since S60 v4.0        
       
   555      * @return SkinInstance
       
   556      */
       
   557     inline MAknsSkinInstance* SkinInstance();
       
   558     
       
   559     /**
       
   560      * Get the layout TouchFeedbackInstance
       
   561      *
       
   562      * @since S60 v4.0        
       
   563      * @return TouchFeedbackInstance
       
   564      */
       
   565     inline MTouchFeedback* TouchFeedbackInstance();
       
   566 
   547 
   567 protected:
   548 protected:
   568     /**
   549     /**
   569      * Constructor
   550      * Constructor
   570      *
   551      *
   627      *
   608      *
   628      * @since S60 v4.0
   609      * @since S60 v4.0
   629      * @param aData Editor text and cursor pos information
   610      * @param aData Editor text and cursor pos information
   630      */
   611      */
   631     void SendEditorTextAndCursorPosL(TUint8* aData);
   612     void SendEditorTextAndCursorPosL(TUint8* aData);
   632 	void SetSelfBmpDeviceFlag(TBool aFlag);
   613 
   633 
       
   634 private:
       
   635     NONSHARABLE_CLASS( CFepUiLayoutExt) : public CBase
       
   636         {
       
   637         public:
       
   638 			TBool iTactileSupported;
       
   639     	
       
   640 			/**
       
   641 			 * Used to Cache skins instance 
       
   642 			 */ 
       
   643 			MAknsSkinInstance*  iSkinInstance;
       
   644 			
       
   645 			/**
       
   646 			 * Used to Cache TouchFeedback instance 
       
   647 			 */ 
       
   648 			MTouchFeedback*   iTouchFeedbackInstance;    
       
   649             
       
   650 			TBool iSelfBmpDeviceFlag;
       
   651             TBool iDisableDrawing;   
       
   652         };
       
   653  
       
   654 private:  
   614 private:  
   655     /**
   615     /**
   656      * Layout dragging position. Same as iLayoutPos, but only used when layout is
   616      * Layout dragging position. Same as iLayoutPos, but only used when layout is
   657      * dragging.
   617      * dragging.
   658      *
   618      *
   698     /**
   658     /**
   699      * State indicates layout ready to be drawn
   659      * State indicates layout ready to be drawn
   700      */
   660      */
   701      TInt iLayoutReady;     
   661      TInt iLayoutReady;     
   702     
   662     
   703      CFepUiLayoutExt* iExtension;
       
   704     /**
   663     /**
   705      * Reserved item1
   664      * Reserved item1
   706      */
   665      */
   707      TInt iReserved1;     
   666      TInt iReserved1;     
   708 friend class CFepUiBaseCtrl;
   667      
   709     
   668     /**
       
   669      * Flag for tactile feedback support
       
   670      */        
       
   671     TBool iTactileSupported;
   710 };
   672 };
   711 
   673 
   712 #include "peninputlayout.inl"
   674 #include "peninputlayout.inl"
   713 
   675 
   714 #endif  C_CFEPUILAYOUT_H
   676 #endif  C_CFEPUILAYOUT_H