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 // |
14 // |
15 |
15 |
16 |
|
17 |
|
18 /** |
16 /** |
19 @file |
17 @file |
|
18 @publishedAll |
20 */ |
19 */ |
21 |
20 |
22 #if !defined(__ES_WSMS_H__) |
21 #if !defined(__ES_WSMS_H__) |
23 #define __ES_WSMS_H__ |
22 #define __ES_WSMS_H__ |
24 |
23 |
36 const TUint KWAPSMSDatagramServiceInfo = KSIConnectionLess | KSIMessageBased; |
35 const TUint KWAPSMSDatagramServiceInfo = KSIConnectionLess | KSIMessageBased; |
37 /** CDMA WAP SMS Protocol Module address family ID for legacy WDP application. */ |
36 /** CDMA WAP SMS Protocol Module address family ID for legacy WDP application. */ |
38 const TUint KWAPCDMASMSAddrFamily=0x013; |
37 const TUint KWAPCDMASMSAddrFamily=0x013; |
39 |
38 |
40 /** |
39 /** |
41 * @internalComponent |
40 * @publishedAll |
42 */ |
41 */ |
43 _LIT(KWAPSMSProtocolId,"WAPSMS Datagram"); |
42 _LIT(KWAPSMSProtocolId,"WAPSMS Datagram"); |
44 _LIT(KWAPCDMASMSProtocolId,"WAP CDMA SMS Datagram"); |
43 _LIT(KWAPCDMASMSProtocolId,"WAP CDMA SMS Datagram"); |
45 |
44 |
46 ////////////////////////////////////////////////////////////////////////////// |
45 // |
47 // Wap Address / Port Settings |
46 // Wap Address / Port Settings |
48 ////////////////////////////////////////////////////////////////////////////// |
47 // |
49 |
48 |
50 /** WAP port setting. */ |
49 /** WAP port setting. */ |
51 enum TWapPortNumber |
50 enum TWapPortNumber |
52 { |
51 { |
53 /** Unspecified. */ |
52 /** Unspecified. */ |
116 * * @return ETrue if the object value's are equal |
115 * * @return ETrue if the object value's are equal |
117 */ |
116 */ |
118 inline TBool operator==(const TWapAddr& aAddr) const; |
117 inline TBool operator==(const TWapAddr& aAddr) const; |
119 }; |
118 }; |
120 |
119 |
121 ////////////////////////////////////////////////////////////////////////////// |
120 // |
122 // Option Settings |
121 // Option Settings |
123 ////////////////////////////////////////////////////////////////////////////// |
122 // |
124 |
123 |
125 /** WAP SMS Protocol Module option level, for RSocket::SetOpt() and RSocket::GetOpt() calls. */ |
124 /** WAP SMS Protocol Module option level, for RSocket::SetOpt() and RSocket::GetOpt() calls. */ |
126 const TInt KWapSmsOptionLevel = KSOLSocket + 1; |
125 const TInt KWapSmsOptionLevel = KSOLSocket + 1; |
127 |
126 |
128 /** |
127 /** |