mmtestenv/mmtestfw/Source/TestFrameworkServer/TestFrameworkServer.cpp
changeset 32 ae690a8c4a18
parent 31 ae0addfe117e
child 41 f7bf1ed8db72
equal deleted inserted replaced
31:ae0addfe117e 32:ae690a8c4a18
   220 
   220 
   221 			iLogMode |= ELogToConsole;
   221 			iLogMode |= ELogToConsole;
   222 			
   222 			
   223 			if (aLogMode & ELogConsoleFull)
   223 			if (aLogMode & ELogConsoleFull)
   224 				iLogMode |= ELogConsoleFull;
   224 				iLogMode |= ELogConsoleFull;
       
   225 
       
   226 			iConsole->Read(*this);
       
   227 
   225 			}
   228 			}
   226 		}
   229 		}
   227 
   230 
   228 	// NB relative paths will not work with TParse (there is no file server open).
   231 	// NB relative paths will not work with TParse (there is no file server open).
   229 	// Exception is a bare filename (with no path) : this will be found in root of C:
   232 	// Exception is a bare filename (with no path) : this will be found in root of C:
   354 	}
   357 	}
   355 
   358 
   356 
   359 
   357 /**
   360 /**
   358  *
   361  *
       
   362  * process key input from console.
       
   363  *
       
   364  * @param "TKeyCode aKeystroke"
       
   365  *			The keystroke
       
   366  * 
       
   367  * @xxxx
       
   368  *
       
   369  */
       
   370 void CTestFrameworkServer::InputReceived(TKeyCode aKeystroke)
       
   371 	{
       
   372 	// store it
       
   373 	iInputKey = STATIC_CAST(TInt, aKeystroke);
       
   374 
       
   375 	// key not processed as yet - pending implementation of async request from client
       
   376 		
       
   377 	//read from console again
       
   378 	iConsole->Read(*this);
       
   379 	}
       
   380 
       
   381 /**
       
   382  *
       
   383  * Display general error.
       
   384  *
       
   385  * @param "TInt aError"
       
   386  *			The error code
       
   387  * 
       
   388  * @xxxx
       
   389  *
       
   390  */
       
   391 void CTestFrameworkServer::Error(TInt)
       
   392 	{
       
   393 	// stubbed; undefined input keys can be safely discarded
       
   394 	}
       
   395 
       
   396 /**
       
   397  *
   359  * Default window constructor (no owner)
   398  * Default window constructor (no owner)
   360  *
   399  *
   361  * @xxxx
   400  * @xxxx
   362  * 
   401  * 
   363  */
   402  */