diff -r 000000000000 -r bde4ae8d615e os/mm/mmlibs/mmfw/tsrc/mmvalidationsuite/mmvalidationsuiteapp/inc/MVSConfigAudioFormatDialog.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/os/mm/mmlibs/mmfw/tsrc/mmvalidationsuite/mmvalidationsuiteapp/inc/MVSConfigAudioFormatDialog.h Fri Jun 15 03:10:57 2012 +0200 @@ -0,0 +1,62 @@ +// Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). +// All rights reserved. +// This component and the accompanying materials are made available +// under the terms of "Eclipse Public License v1.0" +// which accompanies this distribution, and is available +// at the URL "http://www.eclipse.org/legal/epl-v10.html". +// +// Initial Contributors: +// Nokia Corporation - initial contribution. +// +// Contributors: +// +// Description: +// Part of the MVS Application for TechView +// + +#ifndef MVSCONFIGAUDIOFORMATDIALOG_H +#define MVSCONFIGAUDIOFORMATDIALOG_H + +#include +#include +#include + + +class CMVSAppUi; +class CSettingsManager; +class CMVSConfigAudioFormatDialog : public CEikDialog + { +public: + ~CMVSConfigAudioFormatDialog(); + void SetupDialogLD(CMVSAppUi* aAppUi,TUid aControllerId,CSettingsManager* aSettingsManager); + void PreLayoutDynInitL(); //seeds dialog controls + void InternalizeL(RReadStream& aStream); + void ExternalizeL(RWriteStream& aStream); + void ConstructL(); + void HandleControlEventL(CCoeControl *aControl, TCoeEvent aEventType); +private: + CMVSConfigAudioFormatDialog(CMVSAppUi* aAppUi,TUid aControllerId); + TBool OkToExitL(TInt aButtonId); //handles button presses for this dialog + TKeyResponse OfferKeyEventL(const TKeyEvent& aKeyEvent, TEventCode aType); +private: + TUid iContollerUid; + TInt8 iBitRateIdx; + TInt8 iSampleRateIdx; + TInt8 iChannelListIdx; + TInt8 iFormatListIdx; + TInt8 iCodecListIdx; + CMVSAppUi* iAppUi; + CDesCArrayFlat* iArrSampleRates; + CDesCArrayFlat* iArrBitRates; + CDesCArrayFlat* iArrChannels; + CDesCArrayFlat* iArrCodecs; + CEikCheckBox* iSettings; +public: + RArray iBitRatesArray; + RArray iSampleRatesArray; + RArray iChannelsArray; + RArray iCodecsArray; + TBool iRestoreSettings; + }; + +#endif MVSCONFIGAUDIOFORMATDIALOG_H