equal
deleted
inserted
replaced
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 /** |
|
550 * Get the layout SkinInstance |
|
551 * |
|
552 * @since S60 v4.0 |
|
553 * @return SkinInstance |
|
554 */ |
|
555 inline MAknsSkinInstance* SkinInstance(); |
|
556 |
|
557 /** |
|
558 * Get the layout TouchFeedbackInstance |
|
559 * |
|
560 * @since S60 v4.0 |
|
561 * @return TouchFeedbackInstance |
|
562 */ |
|
563 inline MTouchFeedback* TouchFeedbackInstance(); |
547 |
564 |
548 protected: |
565 protected: |
549 /** |
566 /** |
550 * Constructor |
567 * Constructor |
551 * |
568 * |
609 * @since S60 v4.0 |
626 * @since S60 v4.0 |
610 * @param aData Editor text and cursor pos information |
627 * @param aData Editor text and cursor pos information |
611 */ |
628 */ |
612 void SendEditorTextAndCursorPosL(TUint8* aData); |
629 void SendEditorTextAndCursorPosL(TUint8* aData); |
613 |
630 |
|
631 private: |
|
632 NONSHARABLE_CLASS( CFepUiLayoutExt) : public CBase |
|
633 { |
|
634 public: |
|
635 TBool iTactileSupported; |
|
636 |
|
637 /** |
|
638 * Used to Cache skins instance |
|
639 */ |
|
640 MAknsSkinInstance* iSkinInstance; |
|
641 |
|
642 /** |
|
643 * Used to Cache TouchFeedback instance |
|
644 */ |
|
645 MTouchFeedback* iTouchFeedbackInstance; |
|
646 |
|
647 }; |
|
648 |
614 private: |
649 private: |
615 /** |
650 /** |
616 * Layout dragging position. Same as iLayoutPos, but only used when layout is |
651 * Layout dragging position. Same as iLayoutPos, but only used when layout is |
617 * dragging. |
652 * dragging. |
618 * |
653 * |
658 /** |
693 /** |
659 * State indicates layout ready to be drawn |
694 * State indicates layout ready to be drawn |
660 */ |
695 */ |
661 TInt iLayoutReady; |
696 TInt iLayoutReady; |
662 |
697 |
|
698 CFepUiLayoutExt* iExtension; |
663 /** |
699 /** |
664 * Reserved item1 |
700 * Reserved item1 |
665 */ |
701 */ |
666 TInt iReserved1; |
702 TInt iReserved1; |
667 |
703 |
668 /** |
|
669 * Flag for tactile feedback support |
|
670 */ |
|
671 TBool iTactileSupported; |
|
672 }; |
704 }; |
673 |
705 |
674 #include "peninputlayout.inl" |
706 #include "peninputlayout.inl" |
675 |
707 |
676 #endif C_CFEPUILAYOUT_H |
708 #endif C_CFEPUILAYOUT_H |