Update contrib.
1 // Copyright (c) 1996-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 // f32test\bench\t_select.h
18 #if !defined(__T_SELECT_H__)
19 #define __T_SELECT_H__
20 #if !defined(__E32BASE_H__)
23 #if !defined(__E32SVR_H__)
35 class CSelectionBox : public CBase
38 static CSelectionBox* NewL(CConsoleBase* aConsole);
40 void AddDriveSelectorL(RFs aFs);
41 void AddLineL(const TDesC& aText,const TCallBack& aCallBack);
42 void ReplaceTextL(TInt aLine,const TDesC& aText);
44 TChar CurrentKeyPress();
48 void DisplayHighLight(TBool aOn);
49 TInt PreviousDrive(TInt aDrive);
50 TInt NextDrive(TInt aDrive);
53 TBool MediaPresent(TInt aDrive);
55 CConsoleBase* iConsole;
56 CArrayFixFlat<TSelBoxEntry>* iText;
60 TDriveList iDriveList;
63 TBool iDriveSelectorPresent;
64 friend TInt ChangeDrives(TAny*);