--- a/idlehomescreen/inc/xntexteditor.h Wed Sep 15 12:00:00 2010 +0300
+++ b/idlehomescreen/inc/xntexteditor.h Wed Oct 13 14:18:30 2010 +0300
@@ -43,16 +43,26 @@
public: // New functions
/**
- * Sets the new text to the underlying CEikEdwin
+ * Sets the new text to the underlying CEikEdvin
* @param aText The new content
*/
virtual void SetTextL(const TDesC& aText) = 0;
/**
- * Returns the text contained in the underlying CEikEdwin
+ * Returns the text contained in the underlying CEikEdvin
* @return HBufC* The text
*/
virtual const HBufC* Text() = 0;
+
+ /**
+ * Handles editor events
+ *
+ * @since S60 5.2
+ * @param aReason, editor event
+ */
+ virtual void HandleEditorEvent( TInt aReason ) = 0;
+
+ private:
};
}
@@ -65,6 +75,18 @@
{
public:
+/**
+ * Editor events
+ */
+ enum TEditorEvent
+ {
+ KActivateTextEditor,
+ KDeactivateTextEditor,
+ KRemoveSplitInputFromStack,
+ KKeepSplitInputInStack
+ };
+public:
+
/**
* 2 phase construction.
*/
@@ -78,17 +100,25 @@
public: // New functions
/**
- * Sets the new content to the underlying CEikEdwin
+ * Sets the new content to the underlying CEikEdvin
* @param aText The new content
*/
void SetTextL(const TDesC& aText);
/**
- * Returns the text contained in the underlying CEikEdwin
+ * Returns the text contained in the underlying CEikEdvin
* @return HBufC* The text
*/
const HBufC* Text();
+ /**
+ * Handles editor events
+ *
+ * @since S60 5.2
+ * @param aReason, editor event
+ */
+ void HandleEditorEvent( TInt aReason );
+
public: // from CCoeControl
/**