00001 /* 00002 * ============================================================================= 00003 * Name : sipreplytoheader.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 CSIPREPLYTOHEADER_H 00023 #define CSIPREPLYTOHEADER_H 00024 00025 // INCLUDES 00026 #include "SIPAddressHeaderBase.h" 00027 #include "_sipcodecdefs.h" 00028 00029 // FORWARD DECLARATIONS 00030 class CSIPAddress; 00031 class CSIPHeaderGenericParams; 00032 00033 // CLASS DECLARATION 00043 class CSIPReplyToHeader : public CSIPAddressHeaderBase 00044 { 00045 public: // Constructors and destructor 00046 00054 IMPORT_C static CSIPReplyToHeader* DecodeL(const TDesC8& aValue); 00055 00062 IMPORT_C static CSIPReplyToHeader* NewL(CSIPAddress* aSIPAddress); 00063 00070 IMPORT_C static CSIPReplyToHeader* NewLC(CSIPAddress* aSIPAddress); 00071 00075 IMPORT_C virtual ~CSIPReplyToHeader(); 00076 00077 00078 public: // New functions 00079 00086 IMPORT_C static CSIPHeaderBase* 00087 InternalizeValueL(RReadStream& aReadStream); 00088 00089 00090 public: // From CSIPHeaderBase 00091 00095 IMPORT_C CSIPHeaderBase* CloneL() const; 00096 00100 IMPORT_C RStringF Name() const; 00101 00102 00103 public: // From CSIPHeaderBase, for internal use 00104 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 CSIPReplyToHeader(); 00114 00115 private: // For testing purposes 00116 00117 UNIT_TEST(CSIPReplyToHeaderTest) 00118 }; 00119 00120 // end of CSIPREPLYTOHEADER_H 00121 #endif 00122 00123 // End of File