mmtestenv/mmtestfw/Source/TestFrameworkServer/TestFrameworkServer.cpp
branchRCL_3
changeset 50 948c7f65f6d4
parent 49 735348f59235
child 41 f7bf1ed8db72
--- a/mmtestenv/mmtestfw/Source/TestFrameworkServer/TestFrameworkServer.cpp	Tue Aug 31 16:43:06 2010 +0300
+++ b/mmtestenv/mmtestfw/Source/TestFrameworkServer/TestFrameworkServer.cpp	Wed Sep 01 12:38:50 2010 +0100
@@ -222,6 +222,9 @@
 			
 			if (aLogMode & ELogConsoleFull)
 				iLogMode |= ELogConsoleFull;
+
+			iConsole->Read(*this);
+
 			}
 		}
 
@@ -356,6 +359,42 @@
 
 /**
  *
+ * process key input from console.
+ *
+ * @param "TKeyCode aKeystroke"
+ *			The keystroke
+ * 
+ * @xxxx
+ *
+ */
+void CTestFrameworkServer::InputReceived(TKeyCode aKeystroke)
+	{
+	// store it
+	iInputKey = STATIC_CAST(TInt, aKeystroke);
+
+	// key not processed as yet - pending implementation of async request from client
+		
+	//read from console again
+	iConsole->Read(*this);
+	}
+
+/**
+ *
+ * Display general error.
+ *
+ * @param "TInt aError"
+ *			The error code
+ * 
+ * @xxxx
+ *
+ */
+void CTestFrameworkServer::Error(TInt)
+	{
+	// stubbed; undefined input keys can be safely discarded
+	}
+
+/**
+ *
  * Default window constructor (no owner)
  *
  * @xxxx