diff -r 4eb1ae11334f -r e6a39382bb9c textinput/peninputarc/inc/peninputlayoutcontrolinc/peninputlayout.h --- a/textinput/peninputarc/inc/peninputlayoutcontrolinc/peninputlayout.h Wed Apr 14 16:18:34 2010 +0300 +++ b/textinput/peninputarc/inc/peninputlayoutcontrolinc/peninputlayout.h Tue Apr 27 16:59:43 2010 +0300 @@ -30,6 +30,7 @@ #include "peninputlayoutbasecontrol.h" #include "peninputcmdparam.h" +class MAknsSkinInstance; class CFepUiCursor; class CControlGroup; @@ -544,6 +545,22 @@ */ //Advanced Tactile feedback REQ417-47932 IMPORT_C void ChangeFeedbackType(TInt aId, TInt aNewTactileType); + + /** + * Get the layout SkinInstance + * + * @since S60 v4.0 + * @return SkinInstance + */ + inline MAknsSkinInstance* SkinInstance(); + + /** + * Get the layout TouchFeedbackInstance + * + * @since S60 v4.0 + * @return TouchFeedbackInstance + */ + inline MTouchFeedback* TouchFeedbackInstance(); protected: /** @@ -611,6 +628,24 @@ */ void SendEditorTextAndCursorPosL(TUint8* aData); +private: + NONSHARABLE_CLASS( CFepUiLayoutExt) : public CBase + { + public: + TBool iTactileSupported; + + /** + * Used to Cache skins instance + */ + MAknsSkinInstance* iSkinInstance; + + /** + * Used to Cache TouchFeedback instance + */ + MTouchFeedback* iTouchFeedbackInstance; + + }; + private: /** * Layout dragging position. Same as iLayoutPos, but only used when layout is @@ -660,15 +695,12 @@ */ TInt iLayoutReady; + CFepUiLayoutExt* iExtension; /** * Reserved item1 */ TInt iReserved1; - - /** - * Flag for tactile feedback support - */ - TBool iTactileSupported; + }; #include "peninputlayout.inl"