idlehomescreen/xmluirendering/renderingplugins/xntexteditorfactory/inc/xntexteditoradapter.h
branchRCL_3
changeset 102 ba63c83f4716
parent 88 3321d3e205b6
--- a/idlehomescreen/xmluirendering/renderingplugins/xntexteditorfactory/inc/xntexteditoradapter.h	Wed Sep 15 12:00:00 2010 +0300
+++ b/idlehomescreen/xmluirendering/renderingplugins/xntexteditorfactory/inc/xntexteditoradapter.h	Wed Oct 13 14:18:30 2010 +0300
@@ -20,7 +20,6 @@
 
 //  System includes
 #include <e32base.h>
-#include <babitflags.h>
 
 // User includes
 #include "xncontroladapter.h"
@@ -84,8 +83,15 @@
      */
     HBufC* Text() const;
 
-public: 
-    // from base classes
+    /**
+     * Handles editor events
+     * 
+     * @since S60 5.2
+     * @param aReason, editor event        
+     */
+    void HandleEditorEvent( TInt aReason );
+
+public: // from base classes
 
     /**
     * See CCoeControl documentation
@@ -106,7 +112,12 @@
     * See CCoeControl documentation
     */    	
     TKeyResponse OfferKeyEventL(const TKeyEvent& aKeyEvent,TEventCode aType);    
-        
+    
+    /**
+    * See CXnControlAdapter documentation
+    */          
+    TBool RefusesFocusLoss() const;
+    
     /**
     * See CCoeControl documentation
     */    	
@@ -119,9 +130,19 @@
 
     /**
     * See CCoeControl documentation
+    */          
+    void HandleResourceChange( TInt aType );
+    
+    /**
+    * See CCoeControl documentation
     */  
     void HandlePointerEventL(const TPointerEvent& aPointerEvent);
 
+    /**
+     * See CCoeAppUiBase.
+     */
+    void HandleScreenDeviceChangedL();
+
 private: 
     // from MCoeControlBackground 
 
@@ -171,9 +192,13 @@
     /** Flag to indicate whether the font needs to be released or not */
     TBool                   iReleaseFont;
     /** Max line amount */
-    TInt                    iMaxLines;
-    /** Flags */
-    TBitFlags32             iFlags;
+    TInt                    iMaxLines; 
+    /** Flag to indicate whether focus loss is refused */
+    TBool                   iRefusesFocusLoss;
+    /** Split input states*/
+    TInt                    iSplitInputFlags;
+    /** Flag to indicate if SetTextL is called */
+    TBool                   iIsSetText;
     };
 
 #endif      // _XNTEXTEDITORADAPTER_H