fep/aknfep/inc/AknFepUiInputStateBase.h
branchRCL_3
changeset 50 5a1685599b76
parent 0 eb1f2e154e89
child 56 8152b1f1763a
--- a/fep/aknfep/inc/AknFepUiInputStateBase.h	Tue Sep 14 21:59:06 2010 +0300
+++ b/fep/aknfep/inc/AknFepUiInputStateBase.h	Wed Sep 15 12:34:44 2010 +0300
@@ -39,6 +39,14 @@
 
 #include <PtiObserver.h> // MPtiObserver
 
+class MAknFepUiStateCtrl 
+	{
+public:
+    virtual void SubmitTextL( const TDesC& aText ) = 0;
+    
+    virtual void CloseUI() = 0;
+	};
+
 // CONSTANTS
 
 // MACROS
@@ -58,7 +66,8 @@
  *  @lib AknFep.lib
  *  @since 2.6
  */
-class TAknFepInputStateBase : public MPtiObserver
+class TAknFepInputStateBase : public MPtiObserver,
+							  public MAknFepUiStateCtrl
     {
 public: // Constructors and destructor
     /**
@@ -93,6 +102,10 @@
      * @since 2.6
      */
     virtual void FirstWordInSelectionList();
+    
+    virtual void SubmitTextL( const TDesC& aText );
+    
+    virtual void CloseUI();
 
 public: // New functions
     /**
@@ -123,11 +136,6 @@
      */
     virtual TUIState State() const;
 
-    /**
-     * Processing of Closeing UI
-     * @since 2.6
-     */
-    virtual void CloseUI();
 
     /**
      * Initialize state