epoc32/include/mw/sipcontactheader.h
branchSymbian3
changeset 4 837f303aceeb
parent 3 e1b950c65cb4
     1.1 --- a/epoc32/include/mw/sipcontactheader.h	Wed Mar 31 12:27:01 2010 +0100
     1.2 +++ b/epoc32/include/mw/sipcontactheader.h	Wed Mar 31 12:33:34 2010 +0100
     1.3 @@ -2,9 +2,9 @@
     1.4  * Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
     1.5  * All rights reserved.
     1.6  * This component and the accompanying materials are made available
     1.7 -* 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.8 +* under the terms of "Eclipse Public License v1.0"
     1.9  * which accompanies this distribution, and is available
    1.10 -* at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
    1.11 +* at the URL "http://www.eclipse.org/legal/epl-v10.html".
    1.12  *
    1.13  * Initial Contributors:
    1.14  * Nokia Corporation - initial contribution.
    1.15 @@ -27,7 +27,6 @@
    1.16  
    1.17  //  INCLUDES
    1.18  #include "sipparameterheaderbase.h"
    1.19 -#include "_sipcodecdefs.h"
    1.20  
    1.21  // FORWARD DECLARATIONS
    1.22  class CSIPAddress;
    1.23 @@ -154,7 +153,6 @@
    1.24  		IMPORT_C static CSIPHeaderBase* 
    1.25  			InternalizeValueL(RReadStream& aReadStream);
    1.26  
    1.27 -
    1.28  	public: // From CSIPHeaderBase
    1.29  		
    1.30  		/**
    1.31 @@ -166,6 +164,13 @@
    1.32  		* From CSIPHeaderBase Name
    1.33  		*/
    1.34  		IMPORT_C RStringF Name() const;
    1.35 +		
    1.36 +	public: //New Function
    1.37 +		
    1.38 +		/**
    1.39 +		* Removes the "expires"-parameter
    1.40 +		*/
    1.41 +		IMPORT_C void RemoveExpiresParam();
    1.42  
    1.43  
    1.44  	public: // From CSIPHeaderBase, for internal use
    1.45 @@ -224,8 +229,9 @@
    1.46  		TBool iIsStar;
    1.47  
    1.48  	private: // For testing purposes
    1.49 -	
    1.50 -		UNIT_TEST(CSIPContactHeaderTest)
    1.51 +#ifdef CPPUNIT_TEST	
    1.52 +		friend class CSIPContactHeaderTest;
    1.53 +#endif
    1.54  	};
    1.55  
    1.56  #endif // CSIPCONTACTHEADER_H