mmtestenv/mmtestfw/Source/TestFrameworkServer/ServerConsole.h
changeset 0 b8ed18f6c07b
equal deleted inserted replaced
-1:000000000000 0:b8ed18f6c07b
       
     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 __SERVERCONSOLE_H__
       
    17 #define __SERVERCONSOLE_H__
       
    18 
       
    19 #include <e32std.h>
       
    20 #include <e32base.h>
       
    21 #include <e32cons.h>
       
    22 
       
    23 #include <testframework.h>
       
    24 
       
    25 /**
       
    26  *
       
    27  * Active console for test input.
       
    28  * To be used where manual control of testing is required
       
    29  *
       
    30  * @xxxx
       
    31  *
       
    32  */
       
    33 class CServerConsole : public CBase
       
    34 	{
       
    35 public:
       
    36 	static CServerConsole* NewL(const TDesC& aName);
       
    37 	~CServerConsole();
       
    38 
       
    39 	void SetInstructionsL(const TDesC& aInstructions);
       
    40 
       
    41 	// accessor
       
    42 	CConsoleBase* Console() const;
       
    43 
       
    44 private:
       
    45 	CServerConsole();
       
    46 	void ConstructL(const TDesC& aName);
       
    47 
       
    48 private:
       
    49 	CConsoleBase* iConsole;
       
    50 	TRectBuf iWindow;
       
    51 	HBufC* iWindowName;
       
    52 	HBufC* iInstructions;
       
    53 	};
       
    54 
       
    55 #endif // __SERVERCONSOLE_H__