os/mm/mmlibs/mmfw/tsrc/mmvalidationsuite/mmvalidationsuiteapp/inc/MVSSetPlayWindowDialog.h
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
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".
     7 //
     8 // Initial Contributors:
     9 // Nokia Corporation - initial contribution.
    10 //
    11 // Contributors:
    12 //
    13 // Description:
    14 // Part of the MVS Application for TechView
    15 //
    16 
    17 #ifndef MVSSETPLAYWINDOWDIALOG_H
    18 #define MVSSETPLAYWINDOWDIALOG_H
    19 
    20 #include <techview/eikdialg.h>
    21 
    22 class CMVSAppUi;//Forward Declaration
    23 
    24 class CMVSSetPlayWindowDialog : public CEikDialog
    25 	{
    26 public:
    27     static void SetupDialogLD(TTimeIntervalMicroSeconds aStart,
    28                               TTimeIntervalMicroSeconds aEnd,
    29                               TTimeIntervalMicroSeconds aMaxDuration, CMVSAppUi* aAppUi);
    30     void PreLayoutDynInitL(); //seeds dialog controls
    31 
    32 public:
    33 	TTimeIntervalMicroSeconds iStart; //the Ramp
    34     TTimeIntervalMicroSeconds iEnd; //the clip length
    35     TTimeIntervalMicroSeconds iMaxDuration; 
    36     CMVSAppUi* iAppUi;
    37 private:
    38 	CMVSSetPlayWindowDialog(TTimeIntervalMicroSeconds aStart,
    39                    TTimeIntervalMicroSeconds aEnd,
    40                    TTimeIntervalMicroSeconds aMaxDuration, CMVSAppUi* aAudioAppUi);
    41     TBool OkToExitL(TInt aButtonId); //handles button presses for this dialog
    42 	TKeyResponse OfferKeyEventL(const TKeyEvent& aKeyEvent, TEventCode aType);
    43     };
    44 
    45 #endif MVSSETPLAYWINDOWDIALOG_H