S60 3rd Edition API Reference: sipcallidheader.h Source File

sipcallidheader.h

Go to the documentation of this file.
00001 /*
00002 * =============================================================================
00003 *  Name          : sipcallidheader.h
00004 *  Part of       : SIP Codec
00005 *  Description   : 
00006 *  Version       : SIP/4.0 
00007 *
00008 *  Copyright (c) 2004 Nokia Corporation. 
00009 *  This material, including documentation and any related 
00010 *  computer programs, is protected by copyright controlled by 
00011 *  Nokia Corporation. All rights are reserved. Copying, 
00012 *  including reproducing, storing, adapting or translating, any 
00013 *  or all of this material requires the prior written consent of 
00014 *  Nokia Corporation. This material also contains confidential 
00015 *  information which may not be disclosed to others without the 
00016 *  prior written consent of Nokia Corporation. 
00017 * =============================================================================
00018 */
00019 
00020 
00021 #ifndef CSIPCALLIDHEADER_H
00022 #define CSIPCALLIDHEADER_H
00023 
00024 //  INCLUDES
00025 #include "sipheaderbase.h"
00026 #include "_sipcodecdefs.h"
00027 
00028 // CLASS DECLARATION
00037 class CSIPCallIDHeader : public CSIPHeaderBase
00038         {
00039         public: // Constructors and destructor
00040 
00047                 IMPORT_C static CSIPCallIDHeader* DecodeL(const TDesC8& aValue);
00048 
00052                 IMPORT_C ~CSIPCallIDHeader ();
00053 
00054 
00055         public: // New functions
00056 
00062                 IMPORT_C TBool operator==(const CSIPCallIDHeader& aCallIDHeader);
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 
00089                 IMPORT_C HBufC8* ToTextValueL() const;
00090                 
00091 
00092         public: // From CSIPHeaderBase, for internal use
00093         
00094                 TBool HasCompactName() const;
00095                 RStringF CompactName() const;
00096                 TPreferredPlace PreferredPlaceInMessage() const;
00097 
00098         public: // New functions, for internal use
00099 
00100                 static RPointerArray<CSIPHeaderBase> BaseDecodeL(const TDesC8& aValue);
00101 
00102         private: // From CSIPHeaderBase
00103 
00104                 void ExternalizeValueL (RWriteStream& aWriteStream) const;
00105 
00106         private: // Constructors
00107 
00108                 CSIPCallIDHeader();
00109 
00110         private: // New functions
00111 
00112                 void ParseL(const TDesC8& aValue);
00113 
00114         private: // Data
00115 
00116                 HBufC8* iCallID;
00117 
00118         private: // For testing purposes
00119         
00120                 UNIT_TEST(CSIPCallIDHeaderTest)
00121         };
00122 
00123 
00124 // end of CSIPCALLIDHEADER_H
00125 #endif
00126 
00127 // End of File

Copyright © Nokia Corporation 2001-2007
Back to top