os/mm/mmlibs/mmfw/tsrc/mmvalidationsuite/mmvalidationsuiteapp/inc/MVSVideoSettingDialog.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 CMVSVIDEOSETTINGDIALOG_H
18 #define CMVSVIDEOSETTINGDIALOG_H
20 #include <techview/eikdialg.h>
21 #include <techview/eikchkbx.h>
26 class CMVSVideoSettingDialog : public CEikDialog
29 //constructs and launches dialog
30 static void SetupDialogLD(TVideoRotation aRotation,
32 const TRect& aVideoSize,
33 const TRect& aWindowRect,
34 TBool aSupportVideoPlayerUtility2,
38 void PreLayoutDynInitL(); //seeds dialog controls
39 void HandleControlEventL(CCoeControl* aControl, TCoeEvent aEventType);
42 //standard C++ constructor
43 CMVSVideoSettingDialog(TVideoRotation aRotation,
45 const TRect& aVideoSize,
46 const TRect& aWindowRect,
47 TBool aSupportVideoPlayerUtility2,
51 TBool OkToExitL(TInt aButtonId); //handles button presses for this dialog
54 void RetrieveVideoExtentFieldValues(TRect& aVideoExtentValues) const;
55 void RetrieveWindowClipRectFieldValues(TRect& aNewVideoExtent) const;
59 CEikCheckBox* iAntiAliasFilteringCtl;
60 TVideoRotation iRotation;
64 TBool iAntiAliasFiltering;
72 TBool iSupportVideoPlayerUtility2;
77 #endif CMVSVIDEOSETTINGDIALOG_H