multimediacommsengine/tsrc/MCETestUI/MCETestUIEngine/inc/TMCETestUIEngineCmdCreateEvent.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 __TMCETESTUIENGINECMDCREATEEVENT_H__
       
    21 #define __TMCETESTUIENGINECMDCREATEEVENT_H__
       
    22 
       
    23 // INCLUDES
       
    24 #include "TMCETestUIEngineCmdBase.h"
       
    25 
       
    26 // FORWARD DECLARATIONS
       
    27 class CMCETestUIEngineProfile;
       
    28 
       
    29 // CLASS DEFINITION
       
    30 /**
       
    31  * 
       
    32  */
       
    33 class TMCETestUIEngineCmdCreateEvent: public TMCETestUIEngineCmdBase
       
    34 	{
       
    35 
       
    36 	public:	// Constructors
       
    37 
       
    38 		/**
       
    39 		 * Constructor.
       
    40 		 *
       
    41 		 * @param aEngine UI Engine
       
    42 		 */
       
    43 		TMCETestUIEngineCmdCreateEvent( CMCETestUIEngine& aEngine );
       
    44 
       
    45 		/**
       
    46 		 * Constructor.
       
    47 		 *
       
    48 		 * @param aEngine UI Engine
       
    49 		 * @param aProfile Profile to be used to create new session
       
    50 		 */
       
    51 		TMCETestUIEngineCmdCreateEvent( 
       
    52 		            CMCETestUIEngine& aEngine,
       
    53 		            CMCETestUIEngineProfile& aProfile );
       
    54 
       
    55 	public: // Implementation for base class abstract methods
       
    56 
       
    57 		/// Executes a sequence of operations.
       
    58 		IMPORT_C void ExecuteL();
       
    59 		
       
    60 		/// Returns short textual representation for behavior of command
       
    61 		IMPORT_C const TDesC& Caption() const;
       
    62 
       
    63     private: // Not owned data
       
    64     
       
    65         CMCETestUIEngineProfile* iProfile;
       
    66 
       
    67 	};
       
    68 
       
    69 // CLASS DEFINITION
       
    70 /**
       
    71  * 
       
    72  */
       
    73 class TMCETestUIEngineCmdCreateRefer: public TMCETestUIEngineCmdBase
       
    74 	{
       
    75 
       
    76 	public:	// Constructors
       
    77 
       
    78 		/**
       
    79 		 * Constructor.
       
    80 		 *
       
    81 		 * @param aEngine UI Engine
       
    82 		 */
       
    83 		TMCETestUIEngineCmdCreateRefer( 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 		TMCETestUIEngineCmdCreateRefer( 
       
    92 		            CMCETestUIEngine& aEngine,
       
    93 		            CMCETestUIEngineProfile& aProfile );
       
    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         CMCETestUIEngineProfile* iProfile;
       
   106 
       
   107 	};
       
   108 	
       
   109 // CLASS DEFINITION
       
   110 /**
       
   111  * 
       
   112  */
       
   113 class TMCETestUIEngineCmdCreateReferSession: public TMCETestUIEngineCmdBase
       
   114 	{
       
   115 
       
   116 	public:	// Constructors
       
   117 
       
   118 		/**
       
   119 		 * Constructor.
       
   120 		 *
       
   121 		 * @param aEngine UI Engine
       
   122 		 */
       
   123 		TMCETestUIEngineCmdCreateReferSession( CMCETestUIEngine& aEngine );
       
   124 
       
   125 		/**
       
   126 		 * Constructor.
       
   127 		 *
       
   128 		 * @param aEngine UI Engine
       
   129 		 * @param aProfile Profile to be used to create new session
       
   130 		 */
       
   131 		TMCETestUIEngineCmdCreateReferSession( 
       
   132 		            CMCETestUIEngine& aEngine,
       
   133 		            CMCETestUIEngineSession& aSession );
       
   134 
       
   135 	public: // Implementation for base class abstract methods
       
   136 
       
   137 		/// Executes a sequence of operations.
       
   138 		IMPORT_C void ExecuteL();
       
   139 		
       
   140 		/// Returns short textual representation for behavior of command
       
   141 		IMPORT_C const TDesC& Caption() const;
       
   142 
       
   143     private: // Not owned data
       
   144     
       
   145         CMCETestUIEngineSession* iSession;
       
   146 
       
   147 	};
       
   148 // CLASS DEFINITION
       
   149 /**
       
   150  * 
       
   151  */
       
   152 class TMCETestUIEngineCmdCreateSessionFromRefer: public TMCETestUIEngineCmdBase
       
   153 	{
       
   154 
       
   155 	public:	// Constructors
       
   156 
       
   157 		/**
       
   158 		 * Constructor.
       
   159 		 *
       
   160 		 * @param aEngine UI Engine
       
   161 		 */
       
   162 		TMCETestUIEngineCmdCreateSessionFromRefer( CMCETestUIEngine& aEngine );
       
   163 
       
   164 		/**
       
   165 		 * Constructor.
       
   166 		 *
       
   167 		 * @param aEngine UI Engine
       
   168 		 * @param aProfile Profile to be used to create new session
       
   169 		 */
       
   170 		TMCETestUIEngineCmdCreateSessionFromRefer( 
       
   171 		            CMCETestUIEngine& aEngine,
       
   172 		            CMCETestUIEngineRefer& aRefer );
       
   173 
       
   174 	public: // Implementation for base class abstract methods
       
   175 
       
   176 		/// Executes a sequence of operations.
       
   177 		IMPORT_C void ExecuteL();
       
   178 		
       
   179 		/// Returns short textual representation for behavior of command
       
   180 		IMPORT_C const TDesC& Caption() const;
       
   181 
       
   182     private: // Not owned data
       
   183     
       
   184         CMCETestUIEngineRefer* iRefer;
       
   185 
       
   186 	};
       
   187 	
       
   188 
       
   189 // CLASS DEFINITION
       
   190 /**
       
   191  * 
       
   192  */
       
   193 class TMCETestUIEngineCmdCreateReferEvent: public TMCETestUIEngineCmdBase
       
   194 	{
       
   195 
       
   196 	public:	// Constructors
       
   197 
       
   198 		/**
       
   199 		 * Constructor.
       
   200 		 *
       
   201 		 * @param aEngine UI Engine
       
   202 		 */
       
   203 		TMCETestUIEngineCmdCreateReferEvent( CMCETestUIEngine& aEngine );
       
   204 
       
   205 		/**
       
   206 		 * Constructor.
       
   207 		 *
       
   208 		 * @param aEngine UI Engine
       
   209 		 * @param aProfile Profile to be used to create new session
       
   210 		 */
       
   211 		TMCETestUIEngineCmdCreateReferEvent( 
       
   212 		            CMCETestUIEngine& aEngine,
       
   213 		            CMCETestUIEngineEvent& aEvent );
       
   214 
       
   215 	public: // Implementation for base class abstract methods
       
   216 
       
   217 		/// Executes a sequence of operations.
       
   218 		IMPORT_C void ExecuteL();
       
   219 		
       
   220 		/// Returns short textual representation for behavior of command
       
   221 		IMPORT_C const TDesC& Caption() const;
       
   222 
       
   223     private: // Not owned data
       
   224     
       
   225         CMCETestUIEngineEvent* iEvent;
       
   226 
       
   227 	};
       
   228 
       
   229 #endif // __TMCETESTUIENGINECMDCREATESESSION_H__