realtimenetprots/sipfw/SIP/Codec/src/CSIPAuthenticateHeaderParams.h
changeset 0 307788aac0a8
equal deleted inserted replaced
-1:000000000000 0:307788aac0a8
       
     1 /*
       
     2 * Copyright (c) 2006-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          : CSIPAuthenticateHeaderParams.h
       
    16 * Part of       : SIP Codec
       
    17 * Version       : SIP/5.0 
       
    18 *
       
    19 */
       
    20 
       
    21 
       
    22 
       
    23 
       
    24 /**
       
    25  @internalComponent
       
    26 */
       
    27 
       
    28 #ifndef CSIPAUTHENTICATEHEADERPARAMS_H
       
    29 #define CSIPAUTHENTICATEHEADERPARAMS_H
       
    30 
       
    31 #include "CSIPParamContainerBase.h"
       
    32 
       
    33 
       
    34 class CSIPAuthenticateHeaderParams : public CSIPParamContainerBase
       
    35 	{
       
    36 	public: // Constructors and destructor 
       
    37 
       
    38 		static CSIPAuthenticateHeaderParams* 
       
    39 			NewL(const CSIPAuthenticateHeaderParams& aParams);
       
    40 	
       
    41 		static CSIPAuthenticateHeaderParams*
       
    42 			NewLC(const CSIPAuthenticateHeaderParams& aParams);
       
    43 
       
    44 		CSIPAuthenticateHeaderParams();
       
    45 		~CSIPAuthenticateHeaderParams();
       
    46 
       
    47 		static CSIPAuthenticateHeaderParams* 
       
    48 			InternalizeL(RReadStream& aReadStream);
       
    49 
       
    50 	private: // From CSIPParamContainerBase
       
    51 
       
    52         TBool AddQuotesWhenEncoding(RStringF aParamName) const;
       
    53 
       
    54 		void CheckAndUpdateParamL(RStringF aName,
       
    55 		                          TBool aHasValue,
       
    56 		                          TPtrC8& aValue) const;
       
    57     };
       
    58 
       
    59 #endif // CSIPAUTHENTICATEHEADERPARAMS_H
       
    60 
       
    61 // End of File