textinput/peninputarc/inc/peninputlayoutcontrolinc/peninputlayout.h
branchRCL_3
changeset 21 ecbabf52600f
parent 20 ebd48d2de13c
child 22 bd83ceabce89
equal deleted inserted replaced
20:ebd48d2de13c 21:ecbabf52600f
    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;
    33 class CFepUiCursor;
    34 class CFepUiCursor;
    34 
    35 
    35 class CControlGroup;
    36 class CControlGroup;
    36 class CDragBar;
    37 class CDragBar;
    37 class CFepUiLayoutRootCtrl;
    38 class CFepUiLayoutRootCtrl;
   542 	 * @param aNewTactileType new feedback type.
   543 	 * @param aNewTactileType new feedback type.
   543 	 * 
   544 	 * 
   544 	 */      
   545 	 */      
   545 	//Advanced Tactile feedback REQ417-47932
   546 	//Advanced Tactile feedback REQ417-47932
   546 	IMPORT_C void ChangeFeedbackType(TInt aId, TInt aNewTactileType);  
   547 	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();
   547 
   566 
   548 protected:
   567 protected:
   549     /**
   568     /**
   550      * Constructor
   569      * Constructor
   551      *
   570      *
   608      *
   627      *
   609      * @since S60 v4.0
   628      * @since S60 v4.0
   610      * @param aData Editor text and cursor pos information
   629      * @param aData Editor text and cursor pos information
   611      */
   630      */
   612     void SendEditorTextAndCursorPosL(TUint8* aData);
   631     void SendEditorTextAndCursorPosL(TUint8* aData);
   613 
   632 	void SetSelfBmpDeviceFlag(TBool aFlag);
       
   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  
   614 private:  
   654 private:  
   615     /**
   655     /**
   616      * Layout dragging position. Same as iLayoutPos, but only used when layout is
   656      * Layout dragging position. Same as iLayoutPos, but only used when layout is
   617      * dragging.
   657      * dragging.
   618      *
   658      *
   658     /**
   698     /**
   659      * State indicates layout ready to be drawn
   699      * State indicates layout ready to be drawn
   660      */
   700      */
   661      TInt iLayoutReady;     
   701      TInt iLayoutReady;     
   662     
   702     
       
   703      CFepUiLayoutExt* iExtension;
   663     /**
   704     /**
   664      * Reserved item1
   705      * Reserved item1
   665      */
   706      */
   666      TInt iReserved1;     
   707      TInt iReserved1;     
   667      
   708 friend class CFepUiBaseCtrl;
   668     /**
   709     
   669      * Flag for tactile feedback support
       
   670      */        
       
   671     TBool iTactileSupported;
       
   672 };
   710 };
   673 
   711 
   674 #include "peninputlayout.inl"
   712 #include "peninputlayout.inl"
   675 
   713 
   676 #endif  C_CFEPUILAYOUT_H
   714 #endif  C_CFEPUILAYOUT_H