00001 /* 00002 * ============================================================================= 00003 * Name : sipcontentencodingheader.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 CSIPCONTENTENCODINGHEADER_H 00023 #define CSIPCONTENTENCODINGHEADER_H 00024 00025 // INCLUDES 00026 #include "siptokenheaderbase.h" 00027 #include "_sipcodecdefs.h" 00028 00029 // CLASS DECLARATION 00039 class CSIPContentEncodingHeader : public CSIPTokenHeaderBase 00040 { 00041 public: // Constructors and destructor 00042 00050 IMPORT_C static RPointerArray<CSIPContentEncodingHeader> 00051 DecodeL(const TDesC8& aValue); 00052 00058 IMPORT_C static CSIPContentEncodingHeader* NewL(RStringF aValue); 00059 00066 IMPORT_C static CSIPContentEncodingHeader* NewLC(RStringF aValue); 00067 00071 IMPORT_C ~CSIPContentEncodingHeader(); 00072 00073 00074 public: // New functions 00075 00084 IMPORT_C static CSIPHeaderBase* 00085 InternalizeValueL(RReadStream& aReadStream); 00086 00087 00088 public: // From CSIPHeaderBase 00089 00093 IMPORT_C CSIPHeaderBase* CloneL() const; 00094 00098 IMPORT_C RStringF Name() const; 00099 00100 00101 public: // From CSIPHeaderBase, for internal use 00102 00103 TBool HasCompactName() const; 00104 RStringF CompactName() const; 00105 TPreferredPlace PreferredPlaceInMessage() const; 00106 00107 public: // New functions, for internal use 00108 00109 static RPointerArray<CSIPHeaderBase> BaseDecodeL(const TDesC8& aValue); 00110 00111 private: // Constructors 00112 00113 CSIPContentEncodingHeader(); 00114 CSIPContentEncodingHeader(const CSIPContentEncodingHeader& aHeader); 00115 }; 00116 00117 // CSIPCONTENTENCODINGHEADER_H 00118 #endif 00119 00120 // End of File