multimediacommsengine/tsrc/MCETestUI/MCETestUIEngine/inc/TMCETestUIEngineCmdAcceptEvent.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 __TMCETESTUIENGINECMDACCEPTEVENT_H__
       
    21 #define __TMCETESTUIENGINECMDACCEPTEVENT_H__
       
    22 
       
    23 // INCLUDES
       
    24 #include "TMCETestUIEngineCmdBase.h"
       
    25 #include "CMCETestUIEngineInEvent.h"
       
    26 #include "CMCETestUIEngineInRefer.h"
       
    27 
       
    28 // FORWARD DECLARATIONS
       
    29 
       
    30 
       
    31 // CLASS DEFINITION
       
    32 /** 
       
    33  *
       
    34  * Executing this command leads to 2XX response to incoming session. 
       
    35  */
       
    36 class TMCETestUIEngineCmdAcceptEvent: public TMCETestUIEngineCmdBase
       
    37 	{
       
    38 
       
    39 	public:	// Constructors
       
    40 
       
    41 		/**
       
    42 		 * Constructor.
       
    43 		 *
       
    44 		 * @param aEngine UI Engine
       
    45 		 */
       
    46 		TMCETestUIEngineCmdAcceptEvent( 
       
    47 		            CMCETestUIEngine& aEngine,
       
    48 		            CMCETestUIEngineInEvent& aInEvent );
       
    49 
       
    50 	public: // Implementation for base class abstract methods
       
    51 
       
    52 		/// Executes a sequence of operations.
       
    53 		IMPORT_C void ExecuteL();
       
    54 		
       
    55 		/// Returns short textual representation for behavior of command
       
    56 		IMPORT_C const TDesC& Caption() const;
       
    57 
       
    58     private: // Not owned data
       
    59     
       
    60         CMCETestUIEngineInEvent& iInEvent;
       
    61         
       
    62 	};
       
    63 
       
    64 // CLASS DEFINITION
       
    65 /** 
       
    66  *
       
    67  * Executing this command leads to 2XX response to incoming session. 
       
    68  */
       
    69 class TMCETestUIEngineCmdAcceptRefer: public TMCETestUIEngineCmdBase
       
    70 	{
       
    71 
       
    72 	public:	// Constructors
       
    73 
       
    74 		/**
       
    75 		 * Constructor.
       
    76 		 *
       
    77 		 * @param aEngine UI Engine
       
    78 		 */
       
    79 		TMCETestUIEngineCmdAcceptRefer( 
       
    80 		            CMCETestUIEngine& aEngine,
       
    81 		            CMCETestUIEngineInRefer& aInRefer );
       
    82 
       
    83 	public: // Implementation for base class abstract methods
       
    84 
       
    85 		/// Executes a sequence of operations.
       
    86 		IMPORT_C void ExecuteL();
       
    87 		
       
    88 		/// Returns short textual representation for behavior of command
       
    89 		IMPORT_C const TDesC& Caption() const;
       
    90 
       
    91     private: // Not owned data
       
    92     
       
    93         CMCETestUIEngineInRefer& iInRefer;
       
    94         
       
    95 	};
       
    96 	
       
    97 // CLASS DEFINITION
       
    98 /** 
       
    99  *
       
   100  * Executing this command leads to 2XX response to incoming session. 
       
   101  */
       
   102 class TMCETestUIEngineCmdRespondRefer: public TMCETestUIEngineCmdBase
       
   103 	{
       
   104 
       
   105 	public:	// Constructors
       
   106 
       
   107 		/**
       
   108 		 * Constructor.
       
   109 		 *
       
   110 		 * @param aEngine UI Engine
       
   111 		 */
       
   112 		TMCETestUIEngineCmdRespondRefer( 
       
   113 		            CMCETestUIEngine& aEngine,
       
   114 		            CMCETestUIEngineInRefer& aInRefer );
       
   115 
       
   116 	public: // Implementation for base class abstract methods
       
   117 
       
   118 		/// Executes a sequence of operations.
       
   119 		IMPORT_C void ExecuteL();
       
   120 		
       
   121 		/// Returns short textual representation for behavior of command
       
   122 		IMPORT_C const TDesC& Caption() const;
       
   123 
       
   124     private: // Not owned data
       
   125     
       
   126         CMCETestUIEngineInRefer& iInRefer;
       
   127         
       
   128 	};
       
   129 #endif // __TMCETESTUIENGINECMDACCEPTSESSION_H__