os/mm/mmlibs/mmfw/tsrc/mmvalidationsuite/mmvalidationsuiteapp/inc/MVSConfigVideoFormatDialog.h
First public contribution.
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 MVSCCONFIGVIDEOFORMATDIALOG_H
18 #define MVSCCONFIGVIDEOFORMATDIALOG_H
20 #include <techview/eikdialg.h>
21 #include <mda/common/controller.h>
22 #include <mmf/common/mmfutilities.h>
23 #include <techview/eikchkbx.h>
26 class CSettingsManager;
28 class CMVSConfigVideoFormatDialog : public CEikDialog
31 ~CMVSConfigVideoFormatDialog();
32 void SetupDialogLD(CMVSAppUi* aAppUi,TUid aControllerId,CSettingsManager* aSettingsManager);
33 void PreLayoutDynInitL(); //seeds dialog controls
34 void InternalizeL(RReadStream& aStream);
35 void ExternalizeL(RWriteStream& aStream);
36 void HandleControlEventL(CCoeControl *aControl, TCoeEvent aEventType);
39 CMVSConfigVideoFormatDialog(CMVSAppUi* aAppUi , TUid aControllerId);
40 TBool OkToExitL(TInt aButtonId); //handles button presses for this dialog
41 TKeyResponse OfferKeyEventL(const TKeyEvent& aKeyEvent, TEventCode aType);
42 CEikCheckBox* iSettings;
43 CEikCheckBox* iAudioEnableCtl;
47 TBool iRestoreSettings;
51 CDesCArrayFlat* iArrFrameRate;
52 CDesCArrayFlat* iArrFrameSize;
53 CDesCArrayFlat* iArrVideoMimeType;
54 CDesC8ArrayFlat* iMimeTypeArray;
57 RArray<TReal32> iFrameRateArray;
58 RArray<TSize> iFrameSizeArray;
62 #endif MVSCCONFIGVIDEOFORMATDIALOG_H