os/mm/mmlibs/mmfw/tsrc/mmvalidationsuite/mmvalidationsuiteapp/inc/MVSConfigAudioFormatDialog.h
Update contrib.
1 // Copyright (c) 2005-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".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
14 // Part of the MVS Application for TechView
17 #ifndef MVSCONFIGAUDIOFORMATDIALOG_H
18 #define MVSCONFIGAUDIOFORMATDIALOG_H
20 #include <techview/eikdialg.h>
21 #include <techview/eikchkbx.h>
22 #include <mmf/common/mmfutilities.h>
26 class CSettingsManager;
27 class CMVSConfigAudioFormatDialog : public CEikDialog
30 ~CMVSConfigAudioFormatDialog();
31 void SetupDialogLD(CMVSAppUi* aAppUi,TUid aControllerId,CSettingsManager* aSettingsManager);
32 void PreLayoutDynInitL(); //seeds dialog controls
33 void InternalizeL(RReadStream& aStream);
34 void ExternalizeL(RWriteStream& aStream);
36 void HandleControlEventL(CCoeControl *aControl, TCoeEvent aEventType);
38 CMVSConfigAudioFormatDialog(CMVSAppUi* aAppUi,TUid aControllerId);
39 TBool OkToExitL(TInt aButtonId); //handles button presses for this dialog
40 TKeyResponse OfferKeyEventL(const TKeyEvent& aKeyEvent, TEventCode aType);
45 TInt8 iChannelListIdx;
49 CDesCArrayFlat* iArrSampleRates;
50 CDesCArrayFlat* iArrBitRates;
51 CDesCArrayFlat* iArrChannels;
52 CDesCArrayFlat* iArrCodecs;
53 CEikCheckBox* iSettings;
55 RArray<TUint> iBitRatesArray;
56 RArray<TUint> iSampleRatesArray;
57 RArray<TUint> iChannelsArray;
58 RArray<TFourCC> iCodecsArray;
59 TBool iRestoreSettings;
62 #endif MVSCONFIGAUDIOFORMATDIALOG_H