|
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 __TMCETESTUIENGINECMDACCEPTSESSION_H__ |
|
21 #define __TMCETESTUIENGINECMDACCEPTSESSION_H__ |
|
22 |
|
23 // INCLUDES |
|
24 #include "TMCETestUIEngineCmdBase.h" |
|
25 #include "CMCETestUIEngineInSession.h" |
|
26 |
|
27 // FORWARD DECLARATIONS |
|
28 |
|
29 |
|
30 // CLASS DEFINITION |
|
31 /** |
|
32 * |
|
33 * Executing this command leads to 2XX response to incoming session. |
|
34 */ |
|
35 class TMCETestUIEngineCmdAcceptSession: public TMCETestUIEngineCmdBase |
|
36 { |
|
37 |
|
38 public: // Constructors |
|
39 |
|
40 /** |
|
41 * Constructor. |
|
42 * |
|
43 * @param aEngine UI Engine |
|
44 */ |
|
45 TMCETestUIEngineCmdAcceptSession( |
|
46 CMCETestUIEngine& aEngine, |
|
47 CMCETestUIEngineInSession& aInSession ); |
|
48 |
|
49 public: // Implementation for base class abstract methods |
|
50 |
|
51 /// Executes a sequence of operations. |
|
52 IMPORT_C void ExecuteL(); |
|
53 |
|
54 /// Returns short textual representation for behavior of command |
|
55 IMPORT_C const TDesC& Caption() const; |
|
56 |
|
57 private: // Not owned data |
|
58 |
|
59 CMCETestUIEngineInSession& iInSession; |
|
60 |
|
61 }; |
|
62 |
|
63 // CLASS DEFINITION |
|
64 /** |
|
65 * |
|
66 * Executing this command leads to 2XX response to incoming session. |
|
67 */ |
|
68 class TMCETestUIEngineCmdRespondSession: public TMCETestUIEngineCmdBase |
|
69 { |
|
70 |
|
71 public: // Constructors |
|
72 |
|
73 /** |
|
74 * Constructor. |
|
75 * |
|
76 * @param aEngine UI Engine |
|
77 */ |
|
78 TMCETestUIEngineCmdRespondSession( |
|
79 CMCETestUIEngine& aEngine, |
|
80 CMCETestUIEngineInSession& aInSession ); |
|
81 |
|
82 public: // Implementation for base class abstract methods |
|
83 |
|
84 /// Executes a sequence of operations. |
|
85 IMPORT_C void ExecuteL(); |
|
86 |
|
87 /// Returns short textual representation for behavior of command |
|
88 IMPORT_C const TDesC& Caption() const; |
|
89 |
|
90 private: // Not owned data |
|
91 |
|
92 CMCETestUIEngineInSession& iInSession; |
|
93 |
|
94 }; |
|
95 |
|
96 #endif // __TMCETESTUIENGINECMDACCEPTSESSION_H__ |