fep/aknfep/inc/AknFepManager.h
branchRCL_3
changeset 50 5a1685599b76
parent 44 ecbabf52600f
child 56 8152b1f1763a
equal deleted inserted replaced
46:bd83ceabce89 50:5a1685599b76
   265      	/* Flag to take care of graceful exit for FEP launched dialog when the underneath editor is closed */
   265      	/* Flag to take care of graceful exit for FEP launched dialog when the underneath editor is closed */
   266         EExtendedFlagEdwinEditorDestroyed                 =0x00000010,
   266         EExtendedFlagEdwinEditorDestroyed                 =0x00000010,
   267         /* Flag to set decide when to set multiple observer for FEP. Set this flag whenever a FEP aware dialog is launched */
   267         /* Flag to set decide when to set multiple observer for FEP. Set this flag whenever a FEP aware dialog is launched */
   268         EExtendedFlagFepAwareDialogLaunched               =0x00000020,
   268         EExtendedFlagFepAwareDialogLaunched               =0x00000020,
   269         /* Flag to specify that pointer event type EDrag has happened */ 
   269         /* Flag to specify that pointer event type EDrag has happened */ 
   270         EExtendedFlagPointerEventTypeEDrag                =0x00000040
   270         EExtendedFlagPointerEventTypeEDrag                =0x00000040,
       
   271         /* Flag to specify that Fn key will be set as lock mode when long press occurs*/ 
       
   272         EExtendedFlagFnKeyNeedLockMode                    =0x00000080
   271     	};		
   273     	};		
   272 
   274 
   273     //public constants
   275     //public constants
   274 
   276 
   275     enum
   277     enum
   620     * @param None
   622     * @param None
   621     * @return  void
   623     * @return  void
   622     */
   624     */
   623     virtual void HandleIndicCaseL();
   625     virtual void HandleIndicCaseL();
   624 #endif
   626 #endif
       
   627     /*
       
   628      * This function judge whether the texts inputted 
       
   629      * exceed the max length of the editor. 
       
   630      * 
       
   631      * @since Symbian^3
       
   632      * @param aNewInlineTextLenght the length of the current inline texts
       
   633      * @return ETrue if the texts inputted exceed the max length of the editor. 
       
   634      */ 
       
   635     TBool IsTextExceedLeghthEditor(TInt aNewInlineTextLenght);
   625 
   636 
   626 public: //interface to the key catcher
   637 public: //interface to the key catcher
   627     /**
   638     /**
   628      * Handles key events passed from the Key Catcher, excluding the shift key event
   639      * Handles key events passed from the Key Catcher, excluding the shift key event
   629      * which is dealt with separately in the HandleShiftKeyEventL function.
   640      * which is dealt with separately in the HandleShiftKeyEventL function.
  2460     inline void SetNotifyPlugin( TBool aNotifyFlag );
  2471     inline void SetNotifyPlugin( TBool aNotifyFlag );
  2461             
  2472             
  2462     inline void RemeberEditorState();
  2473     inline void RemeberEditorState();
  2463     
  2474     
  2464     inline TBool IsMfneEditor() const;
  2475     inline TBool IsMfneEditor() const;
       
  2476     
       
  2477     inline TBool IsNoT9Editor() const;
  2465     
  2478     
  2466     inline TBool IsFindPaneEditor() const;
  2479     inline TBool IsFindPaneEditor() const;
  2467     inline TBool IsSupportedAdaptiveSearch() const;
  2480     inline TBool IsSupportedAdaptiveSearch() const;
  2468     //for japanese
  2481     //for japanese
  2469     void NotifyJapaneseSetting();
  2482     void NotifyJapaneseSetting();
  2928     */
  2941     */
  2929     void MultitapThroughSCTCharL(TCallBack aCallBack);       	 
  2942     void MultitapThroughSCTCharL(TCallBack aCallBack);       	 
  2930     /**
  2943     /**
  2931     * Notify mfne editor to toggle AM or PM for 12-hour time
  2944     * Notify mfne editor to toggle AM or PM for 12-hour time
  2932     */
  2945     */
  2933     void ChangeMfneAmPm();
  2946     void ChangeMfneAmPmL();
  2934 private:        
  2947 private:        
  2935     TBool NumericResourceMultiTapTimerTimeoutL();    
  2948     TBool NumericResourceMultiTapTimerTimeoutL();    
  2936     
  2949     
  2937     /**
  2950     /**
  2938      * CAknFepManager::FindAndRemoveInputOptionsMenuItemL
  2951      * CAknFepManager::FindAndRemoveInputOptionsMenuItemL
  2962      *  - else it is the last item. 
  2975      *  - else it is the last item. 
  2963      *  Params - 
  2976      *  Params - 
  2964      *      aMenuPane : pointer to the menu pane to be checked for the resource id
  2977      *      aMenuPane : pointer to the menu pane to be checked for the resource id
  2965      */
  2978      */
  2966     void AddInputOptionsMenuItemL( CAknFepUiInterfaceMenuPane* aMenuPane );
  2979     void AddInputOptionsMenuItemL( CAknFepUiInterfaceMenuPane* aMenuPane );
       
  2980     
       
  2981     /**
       
  2982      * CAknFepManager::MenuItemExist
       
  2983      * To check if the menuitem with the CascadeId exist in menupane
       
  2984      * Params -
       
  2985      *      aMenuPane : the current menu pane
       
  2986      *      aCascadeId : the menuitem cascadeID
       
  2987      *      aPosition : if the menuitem exist, this is the index
       
  2988      * return -
       
  2989      *      exist : true
       
  2990      *      not exist : false
       
  2991      */
       
  2992     TBool MenuItemExistL( CAknFepUiInterfaceMenuPane* aMenuPane, TInt aCascadeId, TInt &aPosition );
  2967         
  2993         
  2968 private:        
  2994 private:        
  2969     CChrMultiTapTimer* iNumericResourceTimer;
  2995     CChrMultiTapTimer* iNumericResourceTimer;
  2970     HBufC* iResourceString;
  2996     HBufC* iResourceString;
  2971     TInt iChrCharIndex;    
  2997     TInt iChrCharIndex;    
  3141 inline TBool CAknFepManager::IsMfneEditor() const
  3167 inline TBool CAknFepManager::IsMfneEditor() const
  3142     {
  3168     {
  3143     return EditorType() == CAknExtendedInputCapabilities::EMFNEBased;
  3169     return EditorType() == CAknExtendedInputCapabilities::EMFNEBased;
  3144     }
  3170     }
  3145 
  3171 
       
  3172 inline TBool CAknFepManager::IsNoT9Editor() const
       
  3173     {
       
  3174     return iAknEditorFlags & EAknEditorFlagNoT9;
       
  3175     }
       
  3176 
  3146 inline TBool CAknFepManager::IsFindPaneEditor() const
  3177 inline TBool CAknFepManager::IsFindPaneEditor() const
  3147     {
  3178     {
  3148     return iAknEditorFlags & EAknEditorFlagFindPane;
  3179     return iAknEditorFlags & EAknEditorFlagFindPane;
  3149     }
  3180     }
  3150     
  3181