Update contrib.
1 // Copyright (c) 1997-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 the License "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".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
14 // e32test\device\t_slowir.h
18 //#include <es_sock.h>
26 // Our own comms object with synchronous writes
27 class RCommDev : public RBusDevComm
30 TInt WriteS(const TDesC8& aDes);
31 TInt WriteS(const TDesC8& aDes,TInt aLength);
32 TInt WriteSE(const TDes8& Entered, TInt aLength);
44 class CActiveConsole : public CActive
45 //-----------------------------------
49 CActiveConsole(CConsoleBase* aConsole);
50 static CActiveConsole* NewLC(CConsoleBase* aConsole);
57 void RequestCharacter();
60 // Defined as pure virtual by CActive;
61 // implementation provided by this class.
64 // Service completed request.
65 // Defined as pure virtual by CActive;
66 // implementation provided by this class,
69 void ProcessKeyPressL(TChar aChar);
72 // void GetDmaReaderRegs();
73 // void GetDmaWriterRegs();
74 // void GetReadBufInfo();
75 // void GetWriteBufInfo();
76 // void GetChunkInfo();
77 // void GetMiscInfo();
82 // Data members defined by this class
83 CConsoleBase* iConsole; // A console for reading from
92 class CActiveRW : public CActive
93 //-----------------------------------------------------------
97 CActiveRW(CConsoleBase* aConsole,RCommDev* aPort);
98 static CActiveRW* NewL(CConsoleBase* aConsole,RCommDev* aPort);
103 void Start(TBool StartWriting);
108 TBool CompareBuffers(TInt aLen);
112 CConsoleBase* iConsole;
121 #endif // __T_SLOWIR__