equal
deleted
inserted
replaced
1 // Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // |
|
15 |
|
16 #ifndef __TSU_MMTSTHSTEP21_H__ |
|
17 #define __TSU_MMTSTHSTEP21_H__ |
|
18 |
|
19 class CTestSuite; |
|
20 class CTSUMmTsthSuite21; |
|
21 |
|
22 #include "TestFrameworkServer/TestFrameworkServer.h" |
|
23 |
|
24 // Base class for all the TSU_MMTSTH21 suite test steps |
|
25 class RTSUMmTsthStep21 : public RTestStep, public MConsoleReader |
|
26 { |
|
27 public: |
|
28 virtual TVerdict OpenL(); |
|
29 virtual void Close(); |
|
30 |
|
31 //from MConsoleReader |
|
32 void InputReceived(TKeyCode aKeystroke); |
|
33 void Error(TInt aError); |
|
34 |
|
35 protected: |
|
36 // required to run a CServerConsole |
|
37 CActiveScheduler* iScheduler ; |
|
38 |
|
39 // An active console, receiving output from client messages and input from server |
|
40 CServerConsole* iConsole; |
|
41 |
|
42 // last keypress (will be used by a keyboard stuffer or similar) |
|
43 TInt iInputKey; |
|
44 |
|
45 }; |
|
46 |
|
47 #endif //__TSU_MMTSTHSTEP21_H__ |
|