multimediacommsengine/tsrc/MCETestUI/MCETestUIEngine/inc/TMCETestUIEngineCmdCryptoHandling.h
changeset 0 1bce908db942
equal deleted inserted replaced
-1:000000000000 0:1bce908db942
       
     1 /*
       
     2 * Copyright (c) 2005 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:    See class definition below.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef __TMCETESTUIENGINECMDCRYPTOHANDLING_H__
       
    21 #define __TMCETESTUIENGINECMDCRYPTOHANDLING_H__
       
    22 
       
    23 // INCLUDES
       
    24 #include "TMCETestUIEngineCmdBase.h"
       
    25 
       
    26 
       
    27 // FORWARD DECLARATIONS
       
    28 class CMCETestUIEngineSession;
       
    29 
       
    30 // CLASS DEFINITION
       
    31 /**
       
    32  * 
       
    33  */
       
    34 class TMCETestUIEngineCmdCurrentCryptoContext: public TMCETestUIEngineCmdBase
       
    35 	{
       
    36 
       
    37 	public:	// Constructors
       
    38 
       
    39 		/**
       
    40 		 * Constructor.
       
    41 		 *
       
    42 		 * @param aEngine UI Engine
       
    43 		 */
       
    44 		TMCETestUIEngineCmdCurrentCryptoContext( CMCETestUIEngine& aEngine );
       
    45 
       
    46 		/**
       
    47 		 * Constructor.
       
    48 		 *
       
    49 		 * @param aEngine UI Engine
       
    50 		 * @param aProfile Profile to be used to create new session
       
    51 		 */
       
    52 		TMCETestUIEngineCmdCurrentCryptoContext( 
       
    53 		            CMCETestUIEngine& aEngine,
       
    54 		            CMCETestUIEngineSession& aSession );
       
    55 
       
    56 	public: // Implementation for base class abstract methods
       
    57 
       
    58 		/// Executes a sequence of operations.
       
    59 		IMPORT_C void ExecuteL();
       
    60 		
       
    61 		/// Returns short textual representation for behavior of command
       
    62 		IMPORT_C const TDesC& Caption() const;
       
    63 
       
    64     private: // Not owned data
       
    65     
       
    66         CMCETestUIEngineSession& iSession;
       
    67 
       
    68 	};
       
    69 // CLASS DEFINITION
       
    70 /**
       
    71  * 
       
    72  */
       
    73 class TMCETestUIEngineCmdSupportedCryptoContext: public TMCETestUIEngineCmdBase
       
    74 	{
       
    75 
       
    76 	public:	// Constructors
       
    77 
       
    78 		/**
       
    79 		 * Constructor.
       
    80 		 *
       
    81 		 * @param aEngine UI Engine
       
    82 		 */
       
    83 		TMCETestUIEngineCmdSupportedCryptoContext( CMCETestUIEngine& aEngine );
       
    84 
       
    85 		/**
       
    86 		 * Constructor.
       
    87 		 *
       
    88 		 * @param aEngine UI Engine
       
    89 		 * @param aProfile Profile to be used to create new session
       
    90 		 */
       
    91 		TMCETestUIEngineCmdSupportedCryptoContext( 
       
    92 		            CMCETestUIEngine& aEngine,
       
    93 		            CMCETestUIEngineSession& aSession );
       
    94 
       
    95 	public: // Implementation for base class abstract methods
       
    96 
       
    97 		/// Executes a sequence of operations.
       
    98 		IMPORT_C void ExecuteL();
       
    99 		
       
   100 		/// Returns short textual representation for behavior of command
       
   101 		IMPORT_C const TDesC& Caption() const;
       
   102 
       
   103     private: // Not owned data
       
   104     
       
   105         CMCETestUIEngineSession& iSession;
       
   106 
       
   107 	};
       
   108 // CLASS DEFINITION
       
   109 /**
       
   110  * 
       
   111  */
       
   112 class TMCETestUIEngineCmdSetCryptoContext: public TMCETestUIEngineCmdBase
       
   113 	{
       
   114 
       
   115 	public:	// Constructors
       
   116 
       
   117 		/**
       
   118 		 * Constructor.
       
   119 		 *
       
   120 		 * @param aEngine UI Engine
       
   121 		 */
       
   122 		TMCETestUIEngineCmdSetCryptoContext( CMCETestUIEngine& aEngine );
       
   123 
       
   124 		/**
       
   125 		 * Constructor.
       
   126 		 *
       
   127 		 * @param aEngine UI Engine
       
   128 		 * @param aProfile Profile to be used to create new session
       
   129 		 */
       
   130 		TMCETestUIEngineCmdSetCryptoContext( 
       
   131 		            CMCETestUIEngine& aEngine,
       
   132 		            CMCETestUIEngineSession& aSession );
       
   133 
       
   134 	public: // Implementation for base class abstract methods
       
   135 
       
   136 		/// Executes a sequence of operations.
       
   137 		IMPORT_C void ExecuteL();
       
   138 		
       
   139 		/// Returns short textual representation for behavior of command
       
   140 		IMPORT_C const TDesC& Caption() const;
       
   141 
       
   142     private: // Not owned data
       
   143     
       
   144         CMCETestUIEngineSession& iSession;
       
   145 
       
   146 	};
       
   147 
       
   148 
       
   149 
       
   150 
       
   151 #endif // __TMCETESTUIENGINECMDCREATESESSION_H__