00001 /* 00002 * ============================================================================= 00003 * Name : sipunsupportedheader.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 CSIPUNSUPPORTEDHEADER_H 00023 #define CSIPUNSUPPORTEDHEADER_H 00024 00025 // INCLUDES 00026 #include "siptokenheaderbase.h" 00027 #include "_sipcodecdefs.h" 00028 00029 // CLASS DECLARATION 00038 class CSIPUnsupportedHeader : public CSIPTokenHeaderBase 00039 { 00040 public: // Constructors and destructor 00041 00048 IMPORT_C static RPointerArray<CSIPUnsupportedHeader> 00049 DecodeL(const TDesC8& aValue); 00050 00056 IMPORT_C static CSIPUnsupportedHeader* NewL (RStringF aValue); 00057 00064 IMPORT_C static CSIPUnsupportedHeader* NewLC(RStringF aValue); 00065 00069 IMPORT_C ~CSIPUnsupportedHeader(); 00070 00071 00072 public: // New functions 00073 00080 IMPORT_C static CSIPHeaderBase* 00081 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 CSIPUnsupportedHeader(); 00108 CSIPUnsupportedHeader(const CSIPUnsupportedHeader& aHeader); 00109 }; 00110 00111 // CSIPUNSUPPORTEDHEADER_H 00112 #endif 00113 00114 // End of File