multimediacommsengine/tsrc/MCETestUI/inc/createCryptoHandlingDialog.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 __CREATECYPTOHANDLINGDIALOG__
       
    22 #define __CREATECYPTOHANDLINGDIALOG__ (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 #include <AknPopupFieldText.h>
       
    39 
       
    40 //#include <akndialog.h>
       
    41 #include <aknform.h>
       
    42 
       
    43 #include "MCETestUI.hrh"
       
    44 #include "CMCETestUIEngine.h"
       
    45 
       
    46 /**
       
    47  * @class CStartDTMFDialog
       
    48  *
       
    49  * A dialog that uses a CAknForm control
       
    50  * and allows a the user to edit session type parameters
       
    51  */
       
    52 
       
    53 class CCurrentCryptoContextsDialog: public CAknForm
       
    54     {
       
    55     public:
       
    56        /**
       
    57          Perform the first phase of two phase construction
       
    58         @param aParams Receive parameters
       
    59         */
       
    60       //  CCreatePoCSessionDialog( CMCETestUIEngine ::TPoCSessionParams* aParams );
       
    61          CCurrentCryptoContextsDialog( TBool aCrypto32,TBool aCrypto80);
       
    62 
       
    63        /**
       
    64          Destroy the object
       
    65         */
       
    66         ~CCurrentCryptoContextsDialog();
       
    67 
       
    68     private: // from CEikDialog
       
    69        /**
       
    70          Exit and return values
       
    71         @param aKeyCode Key that terminated dialog
       
    72         @result Always returns ETrue, Ok to exit
       
    73         */
       
    74         TBool OkToExitL(TInt aKeyCode);
       
    75 
       
    76        /**
       
    77          Perform dynamic initialisation prior to displaying dialog
       
    78         */
       
    79         void PreLayoutDynInitL();
       
    80 
       
    81     private:
       
    82        TBool iCrypto32;
       
    83        TBool iCrypto80;
       
    84      
       
    85     };
       
    86 
       
    87 /**
       
    88  * @class CStartDTMFDialog
       
    89  *
       
    90  * A dialog that uses a CAknForm control
       
    91  * and allows a the user to edit session type parameters
       
    92  */
       
    93 
       
    94 class CSupportedCryptoContextsDialog: public CAknForm
       
    95     {
       
    96     public:
       
    97        /**
       
    98          Perform the first phase of two phase construction
       
    99         @param aParams Receive parameters
       
   100         */
       
   101       //  CCreatePoCSessionDialog( CMCETestUIEngine ::TPoCSessionParams* aParams );
       
   102          CSupportedCryptoContextsDialog( TBool aCrypto32,TBool aCrypto80);
       
   103 
       
   104        /**
       
   105          Destroy the object
       
   106         */
       
   107         ~CSupportedCryptoContextsDialog();
       
   108 
       
   109     private: // from CEikDialog
       
   110        /**
       
   111          Exit and return values
       
   112         @param aKeyCode Key that terminated dialog
       
   113         @result Always returns ETrue, Ok to exit
       
   114         */
       
   115         TBool OkToExitL(TInt aKeyCode);
       
   116 
       
   117        /**
       
   118          Perform dynamic initialisation prior to displaying dialog
       
   119         */
       
   120         void PreLayoutDynInitL();
       
   121 
       
   122     private:
       
   123        TBool iCrypto32;
       
   124        TBool iCrypto80;
       
   125      
       
   126     };
       
   127  /**
       
   128  * @class CStartDTMFDialog
       
   129  *
       
   130  * A dialog that uses a CAknForm control
       
   131  * and allows a the user to edit session type parameters
       
   132  */
       
   133 
       
   134 class CGetCryptoContextsDialog: public CAknForm
       
   135     {
       
   136     public:
       
   137        /**
       
   138          Perform the first phase of two phase construction
       
   139         @param aParams Receive parameters
       
   140         */
       
   141       //  CCreatePoCSessionDialog( CMCETestUIEngine ::TPoCSessionParams* aParams );
       
   142          CGetCryptoContextsDialog( TBool& aCrypto32,TBool& aCrypto80);
       
   143 
       
   144        /**
       
   145          Destroy the object
       
   146         */
       
   147         ~CGetCryptoContextsDialog();
       
   148 
       
   149     private: // from CEikDialog
       
   150        /**
       
   151          Exit and return values
       
   152         @param aKeyCode Key that terminated dialog
       
   153         @result Always returns ETrue, Ok to exit
       
   154         */
       
   155         TBool OkToExitL(TInt aKeyCode);
       
   156 
       
   157        /**
       
   158          Perform dynamic initialisation prior to displaying dialog
       
   159         */
       
   160         void PreLayoutDynInitL();
       
   161 
       
   162     private:
       
   163        TBool& iCrypto32;
       
   164        TBool& iCrypto80;
       
   165      
       
   166     };
       
   167 /**
       
   168  Append two message and pass it to a single message dialog.
       
   169  @param aMessage1
       
   170  @param aMessage2
       
   171  */
       
   172 extern void MessageBox( const TDesC& aMessage1, const TDesC& aMessage2 );
       
   173        
       
   174 /**
       
   175  Display message box dialog.
       
   176  @param aMessage
       
   177  */
       
   178 extern void MessageBox( const TDesC& aMessage );
       
   179 
       
   180 #endif // __CREATESESSIONDIALOG_H__
       
   181 
       
   182 // End of File