multimediacommsengine/tsrc/MCETestUI/inc/createStartDTMFDialog.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 __STARTDTMFDIALOG_H__
       
    22 #define __STARTDTMFDIALOG_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 <eikchred.h>
       
    31 
       
    32 
       
    33 #include <in_sock.h> // for TInetAddr
       
    34 #include <es_sock.h> // for SetPort()
       
    35 #include <utf.h>
       
    36 #include <coeinput.h>
       
    37 #include <eikmfne.h>
       
    38 
       
    39 //#include <akndialog.h>
       
    40 #include <aknform.h>
       
    41 
       
    42 #include "MCETestUI.hrh"
       
    43 #include "CMCETestUIEngine.h"
       
    44 
       
    45 /**
       
    46  * @class CStartDTMFDialog
       
    47  *
       
    48  * A dialog that uses a CAknForm control
       
    49  * and allows a the user to edit session type parameters
       
    50  */
       
    51 
       
    52 class CStartDTMFDialog: public CAknForm
       
    53     {
       
    54     public:
       
    55        /**
       
    56          Perform the first phase of two phase construction
       
    57         @param aParams Receive parameters
       
    58         */
       
    59       //  CCreatePoCSessionDialog( CMCETestUIEngine ::TPoCSessionParams* aParams );
       
    60          CStartDTMFDialog( TChar& aChar );
       
    61 
       
    62        /**
       
    63          Destroy the object
       
    64         */
       
    65         ~CStartDTMFDialog();
       
    66 
       
    67     private: // from CEikDialog
       
    68        /**
       
    69          Exit and return values
       
    70         @param aKeyCode Key that terminated dialog
       
    71         @result Always returns ETrue, Ok to exit
       
    72         */
       
    73         TBool OkToExitL(TInt aKeyCode);
       
    74 
       
    75        /**
       
    76          Perform dynamic initialisation prior to displaying dialog
       
    77         */
       
    78         void PreLayoutDynInitL();
       
    79 
       
    80     private:
       
    81     
       
    82        TChar& iChar;
       
    83 
       
    84     };
       
    85 
       
    86 /**
       
    87  Append two message and pass it to a single message dialog.
       
    88  @param aMessage1
       
    89  @param aMessage2
       
    90  */
       
    91 extern void MessageBox( const TDesC& aMessage1, const TDesC& aMessage2 );
       
    92        
       
    93 /**
       
    94  Display message box dialog.
       
    95  @param aMessage
       
    96  */
       
    97 extern void MessageBox( const TDesC& aMessage );
       
    98 
       
    99 #endif // __CREATESESSIONDIALOG_H__
       
   100 
       
   101 // End of File