os/mm/mmlibs/mmfw/tsrc/mmvalidationsuite/mmvalidationsuiteapp/inc/MVSSelectPluginsDialog.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 MVSSELECTPLUGINSDIALOG_H
18 #define MVSSELECTPLUGINSDIALOG_H
20 #include <techview/eikdialg.h>
23 const TInt KAllSupportedExtBufLength = 32;
25 class CMVSAppUI; //Forward class declaration
27 class CMVSSelectPluginsDialog : public CEikDialog
30 static void SetupDialogLD(CDesCArrayFlat* aPluginArray,
31 CDesCArrayFlat* aExtArray, CDesCArrayFlat* aCodecArray,
33 void PreLayoutDynInitL(); //seeds dialog controls
34 void HandleControlEventL(CCoeControl *aControl, TCoeEvent aEventType);
35 ~CMVSSelectPluginsDialog();
36 TKeyResponse OfferKeyEventL(const TKeyEvent& /*aKeyEvent*/,TEventCode /*aType*/);
38 void ConstructL(CDesCArrayFlat* iCodecArray);
39 CMVSSelectPluginsDialog(CDesCArrayFlat* aPluginArray,
40 CDesCArrayFlat* aExtArray, CDesCArrayFlat* aCodecArray,
42 TBool OkToExitL(TInt aButtonId); //handles button presses for this dialog
45 CDesCArrayFlat* iPluginArray; //The array of plugins
46 CDesCArrayFlat* iExtArray; //The array of extensions
47 CDesCArrayFlat* iCodecArray;
48 TBuf<KAllSupportedExtBufLength> iExt; //The file extension
50 CEikChoiceList* iPluginCtl;
51 CEikChoiceList* iExtCtl;
52 TBool iMediaType;//Used to update whether the user is in the Audio/Video mode,gets activated
53 //when the respective radiobutton is selected.
56 #endif MVSSELECTPLUGINSDIALOG_H