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

siprefertoheader.h

Go to the documentation of this file.
00001 /*
00002 * =============================================================================
00003 *  Name        : siprefertoheader.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 CSIPREFERTOHEADER_H
00023 #define CSIPREFERTOHEADER_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 CSIPReferToHeader : public CSIPAddressHeaderBase
00044         {
00045         public: // Constructors and destructor
00046 
00054                 IMPORT_C static CSIPReferToHeader* DecodeL(const TDesC8& aValue);
00055 
00062                 IMPORT_C static CSIPReferToHeader* NewL(CSIPAddress* aSIPAddress);
00063 
00070                 IMPORT_C static CSIPReferToHeader* NewLC(CSIPAddress* aSIPAddress);
00071 
00075                 IMPORT_C virtual ~CSIPReferToHeader();
00076 
00077 
00078         public: // New functions
00079 
00086                 IMPORT_C static CSIPHeaderBase* InternalizeValueL(RReadStream& aReadStream);
00087 
00088 
00089         public: // From CSIPHeaderBase
00090 
00094                 IMPORT_C CSIPHeaderBase* CloneL() const;
00095 
00099                 IMPORT_C RStringF Name() const;
00100 
00101 
00102         public: // From CSIPHeaderBase, for internal use
00103 
00104                 TBool HasCompactName() const;
00105                 RStringF CompactName() const;
00106                 TPreferredPlace PreferredPlaceInMessage() const;
00107 
00108         public: // New functions, for internal use
00109 
00110                 static RPointerArray<CSIPHeaderBase> BaseDecodeL(const TDesC8& aValue);
00111 
00112         private: // Constructors
00113 
00114                 CSIPReferToHeader();
00115 
00116     private: // For testing purposes
00117         
00118                 UNIT_TEST(CSIPReferToHeaderTest)
00119         };
00120 
00121 // end of CSIPREFERTOHEADER_H
00122 #endif
00123 
00124 // End of File

Copyright © Nokia Corporation 2001-2007
Back to top