00001 /* 00002 * ============================================================================= 00003 * Name : sipproxyrequireheader.h 00004 * Part of : SIP Codec 00005 * Interface : SDK API, SIP Codec API 00006 * Description : 00007 * Version : SIP/4.0 00008 * 00009 * Copyright (c) 2004 Nokia Corporation. 00010 * This material, including documentation and any related 00011 * computer programs, is protected by copyright controlled by 00012 * Nokia Corporation. All rights are reserved. Copying, 00013 * including reproducing, storing, adapting or translating, any 00014 * or all of this material requires the prior written consent of 00015 * Nokia Corporation. This material also contains confidential 00016 * information which may not be disclosed to others without the 00017 * prior written consent of Nokia Corporation. 00018 * ============================================================================= 00019 */ 00020 00021 00022 #ifndef CSIPPROXYREQUIREHEADER_H 00023 #define CSIPPROXYREQUIREHEADER_H 00024 00025 // INCLUDES 00026 #include "siptokenheaderbase.h" 00027 #include "_sipcodecdefs.h" 00028 00029 // CLASS DECLARATION 00039 class CSIPProxyRequireHeader : public CSIPTokenHeaderBase 00040 { 00041 public: // Constructors and destructor 00042 00049 IMPORT_C static RPointerArray<CSIPProxyRequireHeader> 00050 DecodeL(const TDesC8& aValue); 00051 00057 IMPORT_C static CSIPProxyRequireHeader* NewL(RStringF aValue); 00058 00065 IMPORT_C static CSIPProxyRequireHeader* NewLC(RStringF aValue); 00066 00070 IMPORT_C ~CSIPProxyRequireHeader(); 00071 00072 00073 public: // New functions 00074 00081 IMPORT_C static CSIPHeaderBase* InternalizeValueL(RReadStream& aReadStream); 00082 00083 00084 public: // From CSIPHeaderBase 00085 00089 IMPORT_C CSIPHeaderBase* CloneL() const; 00090 00094 IMPORT_C RStringF Name() const; 00095 00096 00097 public: // From CSIPHeaderBase, For internal use 00098 00099 TPreferredPlace PreferredPlaceInMessage() const; 00100 00101 public: // New functions, for internal use 00102 00103 static RPointerArray<CSIPHeaderBase> BaseDecodeL(const TDesC8& aValue); 00104 00105 private: // Constructors 00106 00107 CSIPProxyRequireHeader(); 00108 CSIPProxyRequireHeader(const CSIPProxyRequireHeader& aHeader); 00109 }; 00110 00111 // end of CSIPPROXYREQUIREHEADER_H 00112 #endif 00113 00114 // End of File