Attempt to represent the S^2->S^3 header reorganisation as a series of "hg rename" operations
2 * Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
4 * This component and the accompanying materials are made available
5 * 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
6 * which accompanies this distribution, and is available
7 * at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
15 * Name : sipunsupportedheader.h
17 * Interface : SDK API, SIP Codec API
25 #ifndef CSIPUNSUPPORTEDHEADER_H
26 #define CSIPUNSUPPORTEDHEADER_H
29 #include "siptokenheaderbase.h"
30 #include "_sipcodecdefs.h"
37 * Class provides functions for setting and getting SIP "Unsupported" header.
41 class CSIPUnsupportedHeader : public CSIPTokenHeaderBase
43 public: // Constructors and destructor
46 * Constructs a CSIPUnsupportedHeader from textual representation
47 * of the header's value part.
48 * @param aValue a value part of a "Unsupported"-header
49 * @return an array containing 1..n instances of CSIPUnsupportedHeader
51 IMPORT_C static RPointerArray<CSIPUnsupportedHeader>
52 DecodeL(const TDesC8& aValue);
55 * Creates a new instance of CSIPUnsupportedHeader
56 * @param aValue a tag value
57 * @return a new instance of CSIPUnsupportedHeader
59 IMPORT_C static CSIPUnsupportedHeader* NewL (RStringF aValue);
62 * Creates a new instance of CSIPUnsupportedHeader
63 * and puts it to CleanupStack
64 * @param aValue a tag value
65 * @return a new instance of CSIPUnsupportedHeader
67 IMPORT_C static CSIPUnsupportedHeader* NewLC(RStringF aValue);
70 * Destructor, deletes the resources of CSIPUnsupportedHeader.
72 IMPORT_C ~CSIPUnsupportedHeader();
75 public: // New functions
78 * Constructs an instance of a CSIPUnsupportedHeader from a RReadStream
79 * @param aReadStream a stream containing the value of the
80 * externalized object (header name not included).
81 * @return an instance of a CSIPUnsupportedHeader
83 IMPORT_C static CSIPHeaderBase*
84 InternalizeValueL(RReadStream& aReadStream);
87 public: // From CSIPHeaderBase
90 * From CSIPHeaderBase CloneL
92 IMPORT_C CSIPHeaderBase* CloneL() const;
95 * From CSIPHeaderBase Name
97 IMPORT_C RStringF Name() const;
100 public: // From CSIPHeaderBase, for internal use
105 TPreferredPlace PreferredPlaceInMessage() const;
107 public: // New functions, for internal use
109 static RPointerArray<CSIPHeaderBase> BaseDecodeL(const TDesC8& aValue);
111 private: // Constructors
113 CSIPUnsupportedHeader();
114 CSIPUnsupportedHeader(const CSIPUnsupportedHeader& aHeader);
117 #endif // CSIPUNSUPPORTEDHEADER_H