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 : sipproxyrequireheader.h
17 * Interface : SDK API, SIP Codec API
25 #ifndef CSIPPROXYREQUIREHEADER_H
26 #define CSIPPROXYREQUIREHEADER_H
29 #include "siptokenheaderbase.h"
30 #include "_sipcodecdefs.h"
37 * Class provides functions for setting and getting parameters in
38 * SIP "Proxy-Require" header.
42 class CSIPProxyRequireHeader : public CSIPTokenHeaderBase
44 public: // Constructors and destructor
47 * Constructs a CSIPProxyRequireHeader from textual representation
48 * of the header's value part.
49 * @param aValue a value part of a "Proxy-Require"-header
50 * @return an array containing 1..n instances of CSIPProxyRequireHeader
52 IMPORT_C static RPointerArray<CSIPProxyRequireHeader>
53 DecodeL(const TDesC8& aValue);
56 * Creates a new instance of CSIPProxyRequireHeader
57 * @param aValue a tag value
58 * @return a new instance of CSIPProxyRequireHeader
60 IMPORT_C static CSIPProxyRequireHeader* NewL(RStringF aValue);
63 * Creates a new instance of CSIPProxyRequireHeader
64 * and puts it to CleanupStack
65 * @param aValue a tag value
66 * @return a new instance of CSIPProxyRequireHeader
68 IMPORT_C static CSIPProxyRequireHeader* NewLC(RStringF aValue);
71 * Destructor, deletes the resources of CSIPProxyRequireHeader.
73 IMPORT_C ~CSIPProxyRequireHeader();
76 public: // New functions
79 * Constructs an instance of a CSIPProxyRequireHeader from a RReadStream
80 * @param aReadStream a stream containing the value of the
81 * externalized object (header name not included).
82 * @return an instance of a CSIPProxyRequireHeader
84 IMPORT_C static CSIPHeaderBase* 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 CSIPProxyRequireHeader();
114 CSIPProxyRequireHeader(const CSIPProxyRequireHeader& aHeader);
117 #endif // end of CSIPPROXYREQUIREHEADER_H