--- a/fep/aknfep/inc/AknFepManager.h Tue Sep 14 21:59:06 2010 +0300
+++ b/fep/aknfep/inc/AknFepManager.h Wed Sep 15 12:34:44 2010 +0300
@@ -267,7 +267,9 @@
/* Flag to set decide when to set multiple observer for FEP. Set this flag whenever a FEP aware dialog is launched */
EExtendedFlagFepAwareDialogLaunched =0x00000020,
/* Flag to specify that pointer event type EDrag has happened */
- EExtendedFlagPointerEventTypeEDrag =0x00000040
+ EExtendedFlagPointerEventTypeEDrag =0x00000040,
+ /* Flag to specify that Fn key will be set as lock mode when long press occurs*/
+ EExtendedFlagFnKeyNeedLockMode =0x00000080
};
//public constants
@@ -622,6 +624,15 @@
*/
virtual void HandleIndicCaseL();
#endif
+ /*
+ * This function judge whether the texts inputted
+ * exceed the max length of the editor.
+ *
+ * @since Symbian^3
+ * @param aNewInlineTextLenght the length of the current inline texts
+ * @return ETrue if the texts inputted exceed the max length of the editor.
+ */
+ TBool IsTextExceedLeghthEditor(TInt aNewInlineTextLenght);
public: //interface to the key catcher
/**
@@ -2463,6 +2474,8 @@
inline TBool IsMfneEditor() const;
+ inline TBool IsNoT9Editor() const;
+
inline TBool IsFindPaneEditor() const;
inline TBool IsSupportedAdaptiveSearch() const;
//for japanese
@@ -2930,7 +2943,7 @@
/**
* Notify mfne editor to toggle AM or PM for 12-hour time
*/
- void ChangeMfneAmPm();
+ void ChangeMfneAmPmL();
private:
TBool NumericResourceMultiTapTimerTimeoutL();
@@ -2964,6 +2977,19 @@
* aMenuPane : pointer to the menu pane to be checked for the resource id
*/
void AddInputOptionsMenuItemL( CAknFepUiInterfaceMenuPane* aMenuPane );
+
+ /**
+ * CAknFepManager::MenuItemExist
+ * To check if the menuitem with the CascadeId exist in menupane
+ * Params -
+ * aMenuPane : the current menu pane
+ * aCascadeId : the menuitem cascadeID
+ * aPosition : if the menuitem exist, this is the index
+ * return -
+ * exist : true
+ * not exist : false
+ */
+ TBool MenuItemExistL( CAknFepUiInterfaceMenuPane* aMenuPane, TInt aCascadeId, TInt &aPosition );
private:
CChrMultiTapTimer* iNumericResourceTimer;
@@ -3143,6 +3169,11 @@
return EditorType() == CAknExtendedInputCapabilities::EMFNEBased;
}
+inline TBool CAknFepManager::IsNoT9Editor() const
+ {
+ return iAknEditorFlags & EAknEditorFlagNoT9;
+ }
+
inline TBool CAknFepManager::IsFindPaneEditor() const
{
return iAknEditorFlags & EAknEditorFlagFindPane;