epoc32/include/sipauthenticateheaderbase.h
branchSymbian2
changeset 2 2fe1408b6811
parent 0 061f57f2323e
     1.1 --- a/epoc32/include/sipauthenticateheaderbase.h	Tue Nov 24 13:55:44 2009 +0000
     1.2 +++ b/epoc32/include/sipauthenticateheaderbase.h	Tue Mar 16 16:12:26 2010 +0000
     1.3 @@ -1,1 +1,94 @@
     1.4 -sipauthenticateheaderbase.h
     1.5 +/*
     1.6 +* Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
     1.7 +* All rights reserved.
     1.8 +* This component and the accompanying materials are made available
     1.9 +* under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
    1.10 +* which accompanies this distribution, and is available
    1.11 +* at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
    1.12 +*
    1.13 +* Initial Contributors:
    1.14 +* Nokia Corporation - initial contribution.
    1.15 +*
    1.16 +* Contributors:
    1.17 +*
    1.18 +* Description:
    1.19 +* Name          : sipauthenticateheaderbase.h
    1.20 +* Part of       : SIP Codec
    1.21 +* Version       : SIP/5.0 
    1.22 +*
    1.23 +*/
    1.24 +
    1.25 +
    1.26 +
    1.27 +#ifndef CSIPAUTHENTICATEHEADERBASE_H
    1.28 +#define CSIPAUTHENTICATEHEADERBASE_H
    1.29 +
    1.30 +//  INCLUDES
    1.31 +#include "sipauthheaderbase.h"
    1.32 +#include "_sipcodecdefs.h"
    1.33 +
    1.34 +// FORWARD DECLARATIONS
    1.35 +class CSIPAuthenticateHeaderParams;
    1.36 +
    1.37 +// CLASS DECLARATION
    1.38 +/**
    1.39 +* @publishedAll
    1.40 +* @released
    1.41 +*
    1.42 +* A base class for SIP Proxy-Authenticate- and WWW-Authenticate-headers
    1.43 +*
    1.44 +* @lib sipcodec.lib
    1.45 +*/
    1.46 +class CSIPAuthenticateHeaderBase : public CSIPAuthHeaderBase
    1.47 +	{
    1.48 +	public: // Constructors and destructor
    1.49 +
    1.50 +		/**
    1.51 +		* Destructor.
    1.52 +		*/
    1.53 +		IMPORT_C virtual ~CSIPAuthenticateHeaderBase();
    1.54 +
    1.55 +
    1.56 +	public: // New functions
    1.57 +
    1.58 +		/**
    1.59 +		* Check whether a qop-value in qop-options is present. 
    1.60 +		* @param aQopValue the qop-value
    1.61 +		* @return ETrue if present, otherwise EFalse. 
    1.62 +		*/
    1.63 +		IMPORT_C TBool HasQopValueL(const TDesC8& aQopValue) const;
    1.64 +
    1.65 +	public: // From CSIPHeaderBase
    1.66 +
    1.67 +		/**
    1.68 +		* From CSIPHeaderBase ExternalizeSupported
    1.69 +		*/
    1.70 +		IMPORT_C virtual TBool ExternalizeSupported() const;
    1.71 +		
    1.72 +	protected: // Constructors
    1.73 +
    1.74 +		CSIPAuthenticateHeaderBase();
    1.75 +		void ConstructL();
    1.76 +		void ConstructL(const CSIPAuthenticateHeaderBase& aHeader);
    1.77 +
    1.78 +	protected: // From CSIPHeaderBase
    1.79 +
    1.80 +		void ExternalizeValueL(RWriteStream& aWriteStream) const;
    1.81 +
    1.82 +	protected: // From CSIPAuthBase
    1.83 +
    1.84 +		const CSIPParamContainerBase& Params() const;
    1.85 +		CSIPParamContainerBase& Params();
    1.86 +
    1.87 +	protected: // New functions
    1.88 +
    1.89 +		void DoInternalizeValueL(RReadStream& aReadStream);
    1.90 +
    1.91 +	protected: // Data
    1.92 +
    1.93 +		CSIPAuthenticateHeaderParams* iParams;
    1.94 +	};
    1.95 +
    1.96 +#endif // CSIPAUTHENTICATEHEADERBASE_H
    1.97 +
    1.98 +// End of File