Update contrib.
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_ACTIVE_R_CONSOLE_READ_H__)
20 #define __T_ACTIVE_R_CONSOLE_READ_H__
27 #include "DataWrapperBase.h"
28 #include "ActiveCallbackBase.h"
29 #include "DrawUtils.h"
31 class CT_ActiveRConsoleRead : public CActiveCallbackBase
34 * Test Active Notification class
37 @see CActiveCallbackBase
44 EEventOccuranceZeroOrMore,
45 EEventOccuranceOneOrMore,
51 TEventOccurance iEventOccurance;
60 static CT_ActiveRConsoleRead* NewL(CDataWrapperBase& aDataWrapperBase);
61 ~CT_ActiveRConsoleRead();
62 TBool KickStartL (const TDesC& aSection, const TInt aAsyncErrorIndex,RConsole& aConsole);
63 TBool VerifyDataAndKick(const TInt aAsyncErrorIndex, RConsole& aConsole);
64 TConsoleKey GetConsoleKey();
69 CT_ActiveRConsoleRead(CDataWrapperBase& aDataWrapperBase);
75 TBool KickNext(const TInt aAsyncErrorIndex, RConsole& aConsole);
76 void Kick (const TInt aAsyncErrorIndex, RConsole& aConsole);
80 TUint8 iColourValueBlack;
81 TUint8 iColourValueWhite;
86 TBool iHasExitKeyCode;
87 TBool iHasExitRectangle;
93 TBool iHasExpectedKeyCode;
94 TBool iHasExpectedRectangle;
95 TInt iExpectedKeyCode;
96 TRect iExpectedRectangle;
98 RArray<TEventConfig> iEvent;
99 TEventConfig iExpectedConfig;
104 static const CDataWrapperBase::TEnumEntryTable iEnumRawEventTable[];
105 static const CDataWrapperBase::TEnumEntryTable iEnumKeyCodeTable[];
106 static const CDataWrapperBase::TEnumEntryTable iEnumEventOccuranceTable[];
109 #endif /*__T_ACTIVE_R_CONSOLE_READ_H__ */