multimediacommsengine/tsrc/MCETestUI/inc/createVideoCodecDialog.h
changeset 0 1bce908db942
equal deleted inserted replaced
-1:000000000000 0:1bce908db942
       
     1 /*
       
     2 * Copyright (c) 2004 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 #ifndef __CREATEVIDEOCODECDIALOG_H__
       
    22 #define __CREATEVIDEOCODECDIALOG_H__ (0x1)
       
    23 
       
    24 // INCLUDES
       
    25 #include <E32Base.h>
       
    26 #include <eikbutb.h>
       
    27 #include <eikenv.h>
       
    28 #include <eikdialg.h>
       
    29 #include <eikedwin.h>
       
    30 #include <in_sock.h> // for TInetAddr
       
    31 #include <es_sock.h> // for SetPort()
       
    32 #include <utf.h>
       
    33 #include <coeinput.h>
       
    34 #include <eikmfne.h>
       
    35 
       
    36 #include <akndialog.h>
       
    37 #include <aknform.h>
       
    38 #include "MCETestUI.hrh"
       
    39 #include "CMCETestUIEngine.h"
       
    40 
       
    41 
       
    42 class CMCETestUIEngineVideoStream;
       
    43 class CMCETestUIEngineVideoCodec;
       
    44 /**
       
    45  * @class CCreateAudioCodecDialog
       
    46  *
       
    47  * A dialog that uses a CAknForm control
       
    48  * and allows a the user to edit session type parameters
       
    49  */
       
    50 
       
    51 class CCreateVideoCodecDialog: public CAknForm
       
    52     {
       
    53     public:
       
    54        /**
       
    55          Perform the first phase of two phase construction
       
    56         @param aParams Receive parameters
       
    57         */
       
    58          CCreateVideoCodecDialog(CMCETestUIEngineVideoStream& aStream,TInt aIndex);
       
    59 
       
    60        /**
       
    61          Destroy the object
       
    62         */
       
    63         ~CCreateVideoCodecDialog();
       
    64 
       
    65     private: // from CEikDialog
       
    66        /**
       
    67          Exit and return values
       
    68         @param aKeyCode Key that terminated dialog
       
    69         @result Always returns ETrue, Ok to exit
       
    70         */
       
    71         TBool OkToExitL(TInt aKeyCode);
       
    72 
       
    73        /**
       
    74          Perform dynamic initialisation prior to displaying dialog
       
    75         */
       
    76         void PreLayoutDynInitL();
       
    77 
       
    78     private:
       
    79         /** @var iParams Return item after dialog has run, owned by caller */
       
    80         CMCETestUIEngineVideoStream& iStream;
       
    81         TInt iCodecIndex;
       
    82        // CMCETestUIEngineCodec& iCodec;
       
    83     };
       
    84 
       
    85 /**
       
    86  Append two message and pass it to a single message dialog.
       
    87  @param aMessage1
       
    88  @param aMessage2
       
    89  */
       
    90 extern void MessageBox( const TDesC& aMessage1, const TDesC& aMessage2 );
       
    91        
       
    92 /**
       
    93  Display message box dialog.
       
    94  @param aMessage
       
    95  */
       
    96 extern void MessageBox( const TDesC& aMessage );
       
    97 
       
    98 #endif // __CREATESESSIONDIALOG_H__
       
    99 
       
   100 // End of File