realtimenetprots/sipfw/SIP/Codec/api/sipauthorizationheaderbase.h
changeset 0 307788aac0a8
equal deleted inserted replaced
-1:000000000000 0:307788aac0a8
       
     1 /*
       
     2 * Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:
       
    15 * Name          : sipauthorizationheaderbase.h
       
    16 * Part of       : SIP Codec
       
    17 * Version       : SIP/6.0 
       
    18 *
       
    19 */
       
    20 
       
    21 
       
    22 
       
    23 #ifndef CSIPAUTHORIZATIONHEADERBASE_H
       
    24 #define CSIPAUTHORIZATIONHEADERBASE_H
       
    25 
       
    26 //  INCLUDES
       
    27 #include "sipauthheaderbase.h"
       
    28 
       
    29 // FORWARD DECLARATIONS
       
    30 class CSIPAuthorizationHeaderParams;
       
    31 
       
    32 // CLASS DECLARATION
       
    33 /**
       
    34 * @publishedAll
       
    35 * @released
       
    36 *
       
    37 * A base class for SIP Authorization- and Proxy-Authorization-headers
       
    38 * @lib sipcodec.lib
       
    39 */
       
    40 class CSIPAuthorizationHeaderBase : public CSIPAuthHeaderBase
       
    41 	{
       
    42 	public: // Constructors and destructor
       
    43 
       
    44 		/**
       
    45 		* Destructor.
       
    46 		*/
       
    47 		IMPORT_C virtual ~CSIPAuthorizationHeaderBase();
       
    48 
       
    49 	protected: // Constructors
       
    50 
       
    51 		CSIPAuthorizationHeaderBase();
       
    52 		void ConstructL();
       
    53 		void ConstructL(const CSIPAuthorizationHeaderBase& aHeader);
       
    54 
       
    55 	protected: // From CSIPAuthHeaderBase
       
    56 
       
    57 		const CSIPParamContainerBase& Params() const;
       
    58 		CSIPParamContainerBase& Params();
       
    59 
       
    60     protected: // New functions
       
    61 
       
    62 		void DoInternalizeValueL(RReadStream& aReadStream);
       
    63 
       
    64     protected: // Data
       
    65 
       
    66 		CSIPAuthorizationHeaderParams* iParams;
       
    67 	};
       
    68 
       
    69 #endif // CSIPAUTHORIZATIONHEADERBASE_H
       
    70 
       
    71 // End of File