os/mm/mmlibs/mmfw/tsrc/mmvalidationsuite/mmvalidationsuiteapp/inc/MVSVolumeDialog.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 CMVSVOLUMEDIALOG_H
18 #define CMVSVOLUMEDIALOG_H
20 #include <techview/eikdialg.h>
23 class CEikProgressInfo;
25 class CMVSVolumeDialog : public CEikDialog
28 static void SetupDialogLD(TInt aVolume, TTimeIntervalMicroSeconds aRamp,
29 TTimeIntervalMicroSeconds aClipLength, TBool aPlayback, CMVSAppUi* aAppUi);
30 void PreLayoutDynInitL(); // //seeds dialog controls
31 void InitControl(const TInt aId, const TInt aPos, const TInt aStart,
35 TInt iVolume; //the playback volume as a percentage of MaxVolume()
36 TTimeIntervalMicroSeconds iRamp; //the Ramp
37 TTimeIntervalMicroSeconds iClipLength; //the clip length
39 CEikProgressInfo* iProgInfo; //pointer to the progress bar for this dlg.
45 CMVSVolumeDialog(TInt aVolume, TTimeIntervalMicroSeconds aRamp,
46 TTimeIntervalMicroSeconds aClipLength, TBool aPlayback, CMVSAppUi* aAudioAppUi);
47 TBool OkToExitL(TInt aButtonId); //handles button presses for this dialog
48 TKeyResponse OfferKeyEventL(const TKeyEvent& aKeyEvent, TEventCode aType);
51 #endif CMVSVOLUMEDIALOG_H