|
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 __TMCETESTUIENGINECMDCREATESESSION_H__ |
|
21 #define __TMCETESTUIENGINECMDCREATESESSION_H__ |
|
22 |
|
23 // INCLUDES |
|
24 #include "TMCETestUIEngineCmdBase.h" |
|
25 #include<ES_SOCK.h> |
|
26 #include <CommDbConnPref.h> |
|
27 |
|
28 // FORWARD DECLARATIONS |
|
29 class CMCETestUIEngineProfile; |
|
30 |
|
31 // CLASS DEFINITION |
|
32 /** |
|
33 * |
|
34 */ |
|
35 class TMCETestUIEngineCmdCreateSession: public TMCETestUIEngineCmdBase |
|
36 { |
|
37 |
|
38 public: // Constructors |
|
39 |
|
40 /** |
|
41 * Constructor. |
|
42 * |
|
43 * @param aEngine UI Engine |
|
44 */ |
|
45 TMCETestUIEngineCmdCreateSession( CMCETestUIEngine& aEngine ); |
|
46 |
|
47 /** |
|
48 * Constructor. |
|
49 * |
|
50 * @param aEngine UI Engine |
|
51 * @param aProfile Profile to be used to create new session |
|
52 */ |
|
53 TMCETestUIEngineCmdCreateSession( |
|
54 CMCETestUIEngine& aEngine, |
|
55 CMCETestUIEngineProfile& aProfile ); |
|
56 |
|
57 public: // Implementation for base class abstract methods |
|
58 |
|
59 /// Executes a sequence of operations. |
|
60 IMPORT_C void ExecuteL(); |
|
61 |
|
62 /// Returns short textual representation for behavior of command |
|
63 IMPORT_C const TDesC& Caption() const; |
|
64 |
|
65 private: // Not owned data |
|
66 |
|
67 CMCETestUIEngineProfile* iProfile; |
|
68 |
|
69 }; |
|
70 // CLASS DEFINITION |
|
71 /** |
|
72 * |
|
73 */ |
|
74 class TMCETestUIEngineCmdCreateSessionUsingAPList: public TMCETestUIEngineCmdBase |
|
75 { |
|
76 |
|
77 public: // Constructors |
|
78 |
|
79 /** |
|
80 * Constructor. |
|
81 * |
|
82 * @param aEngine UI Engine |
|
83 */ |
|
84 TMCETestUIEngineCmdCreateSessionUsingAPList( CMCETestUIEngine& aEngine ); |
|
85 |
|
86 |
|
87 |
|
88 public: // Implementation for base class abstract methods |
|
89 |
|
90 /// Executes a sequence of operations. |
|
91 IMPORT_C void ExecuteL(); |
|
92 |
|
93 /// Returns short textual representation for behavior of command |
|
94 IMPORT_C const TDesC& Caption() const; |
|
95 |
|
96 // TInt PrepareConnection( TCommDbConnPref& aPrefs, TInt aIapId ); |
|
97 |
|
98 |
|
99 private: // Not owned data |
|
100 |
|
101 |
|
102 }; |
|
103 // CLASS DEFINITION |
|
104 /** |
|
105 * |
|
106 */ |
|
107 class TMCETestUIEngineCmdCreateSessionUsingAPNumber: public TMCETestUIEngineCmdBase |
|
108 { |
|
109 |
|
110 public: // Constructors |
|
111 |
|
112 /** |
|
113 * Constructor. |
|
114 * |
|
115 * @param aEngine UI Engine |
|
116 */ |
|
117 TMCETestUIEngineCmdCreateSessionUsingAPNumber( CMCETestUIEngine& aEngine ); |
|
118 |
|
119 |
|
120 |
|
121 public: // Implementation for base class abstract methods |
|
122 |
|
123 /// Executes a sequence of operations. |
|
124 IMPORT_C void ExecuteL(); |
|
125 |
|
126 /// Returns short textual representation for behavior of command |
|
127 IMPORT_C const TDesC& Caption() const; |
|
128 |
|
129 |
|
130 |
|
131 private: // Not owned data |
|
132 |
|
133 |
|
134 |
|
135 }; |
|
136 #endif // __TMCETESTUIENGINECMDCREATESESSION_H__ |