00001 /* 00002 * ============================================================================= 00003 * Name : siprseqheader.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 CSIPRSEQHEADER_H 00023 #define CSIPRSEQHEADER_H 00024 00025 // INCLUDES 00026 #include "sipunsignedintheaderbase.h" 00027 #include "_sipcodecdefs.h" 00028 00029 // CLASS DECLARATION 00038 class CSIPRSeqHeader : public CSIPUnsignedIntHeaderBase 00039 { 00040 public: // Constructors and destructor 00041 00048 IMPORT_C static CSIPRSeqHeader* DecodeL(const TDesC8& aValue); 00049 00054 IMPORT_C CSIPRSeqHeader(TUint aValue); 00055 00059 IMPORT_C ~CSIPRSeqHeader(); 00060 00061 00062 public: // New functions 00063 00070 IMPORT_C static CSIPHeaderBase* 00071 InternalizeValueL(RReadStream& aReadStream); 00072 00073 00074 public: // From CSIPHeaderBase 00075 00079 IMPORT_C CSIPHeaderBase* CloneL() const; 00080 00084 IMPORT_C RStringF Name() const; 00085 00086 00087 public: // From CSIPHeaderBase, for internal use 00088 00089 TPreferredPlace PreferredPlaceInMessage() const; 00090 00091 public: // New functions, for internal use 00092 00093 static RPointerArray<CSIPHeaderBase> BaseDecodeL(const TDesC8& aValue); 00094 00095 private: // For testing purposes 00096 00097 UNIT_TEST(CSIPRSeqHeaderTest) 00098 }; 00099 00100 // CSIPRSEQHEADER_H 00101 #endif 00102 00103 // End of File