1 // Copyright (c) 2000-2009 Nokia Corporation and/or its subsidiary(-ies). |
1 // Copyright (c) 2000-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 |
|
16 |
|
17 |
15 |
18 /** |
16 /** |
19 @file |
17 @file |
20 @publishedAll |
18 @publishedAll |
21 @released |
19 @released |
60 static const TSdpAttributeID KSdpAttrIdDocumentationURL = 0x000A; |
58 static const TSdpAttributeID KSdpAttrIdDocumentationURL = 0x000A; |
61 /** Client Executable URL. */ |
59 /** Client Executable URL. */ |
62 static const TSdpAttributeID KSdpAttrIdClientExecutableURL = 0x000B; |
60 static const TSdpAttributeID KSdpAttrIdClientExecutableURL = 0x000B; |
63 /** Icon URL. */ |
61 /** Icon URL. */ |
64 static const TSdpAttributeID KSdpAttrIdIconURL = 0x000C; |
62 static const TSdpAttributeID KSdpAttrIdIconURL = 0x000C; |
|
63 /** Additional protocol descriptor list. */ |
|
64 static const TSdpAttributeID KSdpAttrIdAdditionalProtocolDescriptorList = 0x000D; |
65 |
65 |
66 |
66 |
67 /** PAN Profile Security enforcement */ |
67 /** PAN Profile Security enforcement */ |
68 static const TSdpAttributeID KSdpAttrIdSecurityDescription = 0x030a; |
68 static const TSdpAttributeID KSdpAttrIdSecurityDescription = 0x030a; |
69 |
69 |
168 static const TInt KAVRemoteControlTargetUUID = 0x110c; |
168 static const TInt KAVRemoteControlTargetUUID = 0x110c; |
169 /** Advanced audio distribution (A2DP) (profile descriptor) UUID */ |
169 /** Advanced audio distribution (A2DP) (profile descriptor) UUID */ |
170 static const TInt KAdvancedAudioDistributionUUID = 0x110d; |
170 static const TInt KAdvancedAudioDistributionUUID = 0x110d; |
171 /** Remote control (service class) UUID */ |
171 /** Remote control (service class) UUID */ |
172 static const TInt KAVRemoteControlUUID = 0x110E; |
172 static const TInt KAVRemoteControlUUID = 0x110E; |
|
173 /** Remote control controller (service class) UUID */ |
|
174 static const TInt KAVRemoteControlControllerUUID = 0x110F; |
173 /** PBAP PSE Service Class UUID */ |
175 /** PBAP PSE Service Class UUID */ |
174 static const TInt KPbapPseUUID = 0x112F; |
176 static const TInt KPbapPseUUID = 0x112F; |
175 |
177 |
176 |
178 |
177 // Language codes, as per "ISO 639:1988 (E/F)" |
179 // Language codes, as per "ISO 639:1988 (E/F)" |
672 @see CSdpAttrValueDEA |
674 @see CSdpAttrValueDEA |
673 @see CSdpAttrValueDES */ |
675 @see CSdpAttrValueDES */ |
674 NONSHARABLE_CLASS(CSdpAttrValueList) : public CSdpAttrValue, public MSdpElementBuilder |
676 NONSHARABLE_CLASS(CSdpAttrValueList) : public CSdpAttrValue, public MSdpElementBuilder |
675 { |
677 { |
676 public: |
678 public: |
677 IMPORT_C virtual ~CSdpAttrValueList(); |
679 virtual ~CSdpAttrValueList(); |
678 IMPORT_C virtual void AcceptVisitorL(MSdpAttributeValueVisitor& aVisitor); |
680 virtual void AcceptVisitorL(MSdpAttributeValueVisitor& aVisitor); |
679 IMPORT_C virtual TUint DataSize() const; |
681 virtual TUint DataSize() const; |
680 IMPORT_C void AppendValueL(CSdpAttrValue* aValue); |
682 IMPORT_C void AppendValueL(CSdpAttrValue* aValue); |
681 |
683 |
682 // MSdpElementBuilder interface |
684 // MSdpElementBuilder interface |
683 /** Adds an element of any type. |
685 /** Adds an element of any type. |
684 |
686 |
685 @param aType Type descriptor |
687 @param aType Type descriptor |
686 @param aSizeDesc Size descriptor |
688 @param aSizeDesc Size descriptor |
687 @param aData Data field |
689 @param aData Data field |
688 @return Attribute value with added element */ |
690 @return Attribute value with added element */ |
689 IMPORT_C virtual MSdpElementBuilder* BuildUnknownL(TUint8 aType, TUint8 aSizeDesc, const TDesC8& aData); |
691 virtual MSdpElementBuilder* BuildUnknownL(TUint8 aType, TUint8 aSizeDesc, const TDesC8& aData); |
690 IMPORT_C virtual MSdpElementBuilder* BuildNilL(); |
692 virtual MSdpElementBuilder* BuildNilL(); |
691 IMPORT_C virtual MSdpElementBuilder* BuildUintL(const TDesC8& aUint); |
693 virtual MSdpElementBuilder* BuildUintL(const TDesC8& aUint); |
692 IMPORT_C virtual MSdpElementBuilder* BuildIntL(const TDesC8& aInt); |
694 virtual MSdpElementBuilder* BuildIntL(const TDesC8& aInt); |
693 IMPORT_C virtual MSdpElementBuilder* BuildUUIDL(const TUUID& aUUID); |
695 virtual MSdpElementBuilder* BuildUUIDL(const TUUID& aUUID); |
694 IMPORT_C virtual MSdpElementBuilder* BuildBooleanL(TBool aBool); |
696 virtual MSdpElementBuilder* BuildBooleanL(TBool aBool); |
695 IMPORT_C virtual MSdpElementBuilder* BuildStringL(const TDesC8& aString); |
697 virtual MSdpElementBuilder* BuildStringL(const TDesC8& aString); |
696 IMPORT_C virtual MSdpElementBuilder* BuildDESL(); |
698 virtual MSdpElementBuilder* BuildDESL(); |
697 IMPORT_C virtual MSdpElementBuilder* BuildDEAL(); |
699 virtual MSdpElementBuilder* BuildDEAL(); |
698 IMPORT_C virtual MSdpElementBuilder* StartListL(); |
700 virtual MSdpElementBuilder* StartListL(); |
699 IMPORT_C virtual MSdpElementBuilder* EndListL(); |
701 virtual MSdpElementBuilder* EndListL(); |
700 IMPORT_C virtual MSdpElementBuilder* BuildURLL(const TDesC8& aString); |
702 virtual MSdpElementBuilder* BuildURLL(const TDesC8& aString); |
701 IMPORT_C virtual MSdpElementBuilder* BuildEncodedL(const TDesC8& aString); |
703 virtual MSdpElementBuilder* BuildEncodedL(const TDesC8& aString); |
702 |
704 |
703 protected: |
705 protected: |
704 CSdpAttrValueList(MSdpElementBuilder *aBuilder); |
706 CSdpAttrValueList(MSdpElementBuilder *aBuilder); |
705 void ConstructL(); |
707 void ConstructL(); |
706 |
708 |