First public contribution.
2 * Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
4 * This component and the accompanying materials are made available
5 * under the terms of "Eclipse Public License v1.0"
6 * which accompanies this distribution, and is available
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
19 #if (!defined __T_R_CONSOLE_DATA_H__)
20 #define __T_R_CONSOLE_DATA_H__
27 #include "T_RSessionBaseData.h"
28 #include "T_ActiveRConsoleRead.h"
31 class CT_RConsoleData : public CT_RSessionBaseData
34 * Test Active Notification class
37 @see CT_RSessionBaseData
45 static CT_RConsoleData* NewL();
46 virtual TBool DoCommandL(const TTEFFunction& aCommand, const TTEFSectionName& aSection, const TInt aAsyncErrorIndex);
47 virtual TAny* GetObject();
52 TInt DoCmdRead(const TDesC& aSection , const TInt aAsyncErrorIndex);
53 TInt DoCmdConstructor();
54 void DoCmdDestructor();
55 TInt DoCmdControl(const TDesC& aSection);
56 TInt DoCmdInit(const TDesC& aSection);
59 TInt DoCmdWrite(const TDesC& aSection);
60 TInt DoCmdClearScreen();
62 // CT_RSessionBaseData implementation
63 virtual RSessionBase* GetSessionBase();
65 // CT_RHandleBaseData implementation
66 virtual RHandleBase* GetHandleBase();
70 void RunL(CActive* aActive, TInt aIndex);
71 virtual void DoCancel(CActive* aActive, TInt aIndex);
74 CT_ActiveRConsoleRead* iActiveRConsoleRead;
78 #endif /*__T_R_CONSOLE_DATA_H__ */