os/mm/mmlibs/mmfw/tsrc/mmvalidationsuite/mmvalidationsuiteapp/inc/MVSAudioSettingDialog.h
author sl@SLION-WIN7.fritz.box
Fri, 15 Jun 2012 03:10:57 +0200
changeset 0 bde4ae8d615e
permissions -rw-r--r--
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".
     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 CMVSAUDIOSETTINGDIALOG_H
    18 #define CMVSAUDIOSETTINGDIALOG_H
    19 
    20 #include <techview/eikdialg.h>
    21 #include "MVSAppUI.h"
    22 
    23 
    24 class CMVSAppUi;
    25 
    26 class CMVSAudioSettingDialog : public CEikDialog
    27 							   
    28      {
    29 public:
    30      static void SetupDialogLD(TInt aNoRepeats, 
    31                           TTimeIntervalMicroSeconds aTrailingSilence,TInt aAudioPriority,
    32                           TMdaPriorityPreference aPriorityPreference, TInt& aMaxFileBuf,
    33                           CMVSAppUi* aAppUi); //constructs and launches dialog
    34      void PreLayoutDynInitL();    //seeds dialog controls
    35 
    36 private:
    37      CMVSAudioSettingDialog(TInt aNoRepeats, 
    38                           TTimeIntervalMicroSeconds aTrailingSilence,TInt aAudioPriority,
    39                           TMdaPriorityPreference aPriorityPreference, TInt& aMaxFileBuf,
    40                           CMVSAppUi* aAppUi); //standard C++ constructor
    41      TBool OkToExitL(TInt aButtonId); //handles button presses for this dialog
    42 	 TKeyResponse OfferKeyEventL(const TKeyEvent& aKeyEvent,TEventCode aType);
    43 	 
    44 private:
    45      CMVSAppUi* iAppUi;
    46      TInt iAudioPriority; //The audio priority
    47      TMdaPriorityPreference iPriorityPreference; //The priority preference
    48 	 TInt iNoRepeats;    //The number of repeats
    49 	 TTimeIntervalMicroSeconds iTrailingSilence; //the trailing silence
    50 	 TInt& iMaxFileBuf;
    51      CEikNumberEditor* iMaxFileSizeCtrl;
    52      };
    53 #endif  CMVSAUDIOSETTINGDIALOG_H