class CTouchFeedbackAdaptation : public CBase |
The class for instantiating and accessing Tactile Feedback Client API.
Instance of this class should be created at construction phase of every new application. This interface is ment to be used only by the AppUI class for contructing and destroying the Client API, and for informing the client about layout changes.
Public Member Functions | |
---|---|
~CTouchFeedbackAdaptation () | |
IMPORT_C void | ControlVisibilityChanged (const CCoeControl *) |
MTouchFeedback * | CreateInstanceL () |
void | DestroyInstance () |
MTouchFeedback * | GetInstance () |
TInt | HandleControlStateChange ( CCoeControl *, TCoeState) |
IMPORT_C void | LayoutChanged () |
TTypeUid::Ptr | MopSupplyObject ( TTypeUid ) |
IMPORT_C CTouchFeedbackAdaptation * | NewL () |
Private Member Functions | |
---|---|
CTouchFeedbackAdaptation () | |
void | ConstructL () |
Private Attributes | |
---|---|
CTouchFeedbackImpl * | iTouchFeedback |
IMPORT_C void | ControlVisibilityChanged | ( | const CCoeControl * | aControl | ) |
Deprecated. This is still in place for keeping the .def -file unchanged.
const CCoeControl * aControl |
TInt | HandleControlStateChange | ( | CCoeControl * | aControl, |
TCoeState | aState | |||
) |
This is implemented for getting notificatons when given control's state (i.e. visiblity or dimming status) has been changed. This way Tactile FW knows to disable or enable the feedback for that control again.
CCoeControl * aControl | - Pointer to the control, which visiblity or dimming status has changed. |
TCoeState aState | - Can be used for knowing if it was dimming or visibility status that changed. |
IMPORT_C void | LayoutChanged | ( | ) |
This should be called by the application framework for informing that current layout has been changed. This way Tactile FW can disable all feedback areas in those layouts, where pen usage is not enabled (direct feedback is on UI controls' responsibility).
TTypeUid::Ptr | MopSupplyObject | ( | TTypeUid | aId | ) |
We have to implement this because it is pure virtual in MObjectProvider , but we always return TTypeUid::Null .
TTypeUid aId | - Encapsulates the Uid that identifies the type of object required. Ignored in this class. |
IMPORT_C CTouchFeedbackAdaptation * | NewL | ( | ) | [static] |
Instantiation method.
One should not attempt to build more than one instance in each application process.
CTouchFeedbackImpl * | iTouchFeedback | [private] |
The actual feedback instance. Own.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.