equal
deleted
inserted
replaced
1 // Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies). |
1 // Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies). |
2 // All rights reserved. |
2 // All rights reserved. |
3 // This component and the accompanying materials are made available |
3 // This component and the accompanying materials are made available |
4 // under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members |
4 // under the terms of "Eclipse Public License v1.0" |
5 // which accompanies this distribution, and is available |
5 // which accompanies this distribution, and is available |
6 // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html". |
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 // |
7 // |
8 // Initial Contributors: |
8 // Initial Contributors: |
9 // Nokia Corporation - initial contribution. |
9 // Nokia Corporation - initial contribution. |
10 // |
10 // |
11 // Contributors: |
11 // Contributors: |
12 // |
12 // |
13 // Description: |
13 // Description: |
14 // Header file for the Automated Test Tool |
14 // Header file for the Automated Test Tool |
15 // |
15 // |
16 // |
16 // |
17 |
|
18 |
|
19 |
17 |
20 /** |
18 /** |
21 @file |
19 @file |
22 @publishedAll |
20 @publishedAll |
23 @released |
21 @released |
28 |
26 |
29 #include <e32base.h> |
27 #include <e32base.h> |
30 #include <e32std.h> |
28 #include <e32std.h> |
31 #include <comms-infras/metadata.h> |
29 #include <comms-infras/metadata.h> |
32 #include <comms-infras/metatype.h> |
30 #include <comms-infras/metatype.h> |
|
31 #include <comms-infras/es_parameterfamily.h> |
33 |
32 |
34 #include <es_sock.h> |
33 #include <es_sock.h> |
35 |
34 |
|
35 //Parameter Types are defined here and enums defined locally in the class |
36 const TInt32 KSubConnQosGenericParamsType = 1; |
36 const TInt32 KSubConnQosGenericParamsType = 1; |
37 const TInt32 KSubConnAuthorisationGenericParamsType = 2; |
37 const TInt32 KSubConnAuthorisationGenericParamsType = 2; |
|
38 const TInt32 KFlowRequestParametersType = 3; |
|
39 const TInt32 KSubConnProtocolGenericParamsType = 4; |
|
40 |
38 using Meta::SMetaDataECom; |
41 using Meta::SMetaDataECom; |
39 |
42 |
40 class CSubConQosGenericParamSet : public CSubConGenericParameterSet |
43 class CSubConQosGenericParamSet : public CSubConGenericParameterSet |
41 /** Qos generic parameter set. |
44 /** Qos generic parameter set. |
42 |
45 |
65 @note SMetaDataECom must be the first in the superclasses' list |
68 @note SMetaDataECom must be the first in the superclasses' list |
66 @publishedAll |
69 @publishedAll |
67 @released since v9.1 */ |
70 @released since v9.1 */ |
68 { |
71 { |
69 public: |
72 public: |
|
73 enum |
|
74 { |
|
75 EUid=KSubConnGenericParamsImplUid, |
|
76 EType=KSubConnQosGenericParamsType |
|
77 }; |
|
78 |
70 inline static CSubConQosGenericParamSet* NewL(CSubConParameterFamily& aFamily, CSubConParameterFamily::TParameterSetType aType); |
79 inline static CSubConQosGenericParamSet* NewL(CSubConParameterFamily& aFamily, CSubConParameterFamily::TParameterSetType aType); |
|
80 inline static CSubConQosGenericParamSet* NewL(RParameterFamily& aFamily, RParameterFamily::TParameterSetType aType); |
71 inline static CSubConQosGenericParamSet* NewL(); |
81 inline static CSubConQosGenericParamSet* NewL(); |
72 |
82 |
73 inline CSubConQosGenericParamSet(); |
83 inline CSubConQosGenericParamSet(); |
74 |
84 |
75 inline TInt GetDownlinkBandwidth() const; |
85 inline TInt GetDownlinkBandwidth() const; |
136 @note SMetaDataECom must be the first in the superclasses' list |
146 @note SMetaDataECom must be the first in the superclasses' list |
137 @publishedAll |
147 @publishedAll |
138 @released since v9.1 */ |
148 @released since v9.1 */ |
139 { |
149 { |
140 public: |
150 public: |
|
151 enum |
|
152 { |
|
153 EUid=KSubConnGenericParamsImplUid, |
|
154 EType=KSubConnAuthorisationGenericParamsType |
|
155 }; |
|
156 |
141 inline static CSubConAuthorisationGenericParamSet* NewL(CSubConParameterFamily& aFamily, CSubConParameterFamily::TParameterSetType aType); |
157 inline static CSubConAuthorisationGenericParamSet* NewL(CSubConParameterFamily& aFamily, CSubConParameterFamily::TParameterSetType aType); |
|
158 inline static CSubConAuthorisationGenericParamSet* NewL(RParameterFamily& aFamily, RParameterFamily::TParameterSetType aType); |
142 inline static CSubConAuthorisationGenericParamSet* NewL(); |
159 inline static CSubConAuthorisationGenericParamSet* NewL(); |
143 |
160 |
144 inline CSubConAuthorisationGenericParamSet(); |
161 inline CSubConAuthorisationGenericParamSet(); |
145 |
162 |
146 inline TInt GetId() const; |
163 inline TInt GetId() const; |
152 DATA_VTABLE |
169 DATA_VTABLE |
153 |
170 |
154 TInt iId; |
171 TInt iId; |
155 }; |
172 }; |
156 |
173 |
157 class CSubConGenericParamsFactory : public CBase |
|
158 /** Sub connection generic parameter set factory. |
|
159 |
|
160 @internalComponent |
|
161 @released since v9.1 */ |
|
162 { |
|
163 public: |
|
164 static CSubConGenericParameterSet* NewL(TAny* aConstructionParameters); |
|
165 }; |
|
166 |
174 |
167 #include <cs_subconparams.inl> |
175 #include <cs_subconparams.inl> |
|
176 |
168 #endif // __CS_SUBCONPARAMS_H__ |
177 #endif // __CS_SUBCONPARAMS_H__ |
|
178 |