diff -r e1b950c65cb4 -r 837f303aceeb epoc32/include/mw/sipcontactheader.h --- a/epoc32/include/mw/sipcontactheader.h Wed Mar 31 12:27:01 2010 +0100 +++ b/epoc32/include/mw/sipcontactheader.h Wed Mar 31 12:33:34 2010 +0100 @@ -2,9 +2,9 @@ * Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies). * All rights reserved. * This component and the accompanying materials are made available -* 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 +* under the terms of "Eclipse Public License v1.0" * which accompanies this distribution, and is available -* at the URL "http://www.symbianfoundation.org/legal/licencesv10.html". +* at the URL "http://www.eclipse.org/legal/epl-v10.html". * * Initial Contributors: * Nokia Corporation - initial contribution. @@ -27,7 +27,6 @@ // INCLUDES #include "sipparameterheaderbase.h" -#include "_sipcodecdefs.h" // FORWARD DECLARATIONS class CSIPAddress; @@ -154,7 +153,6 @@ IMPORT_C static CSIPHeaderBase* InternalizeValueL(RReadStream& aReadStream); - public: // From CSIPHeaderBase /** @@ -166,6 +164,13 @@ * From CSIPHeaderBase Name */ IMPORT_C RStringF Name() const; + + public: //New Function + + /** + * Removes the "expires"-parameter + */ + IMPORT_C void RemoveExpiresParam(); public: // From CSIPHeaderBase, for internal use @@ -224,8 +229,9 @@ TBool iIsStar; private: // For testing purposes - - UNIT_TEST(CSIPContactHeaderTest) +#ifdef CPPUNIT_TEST + friend class CSIPContactHeaderTest; +#endif }; #endif // CSIPCONTACTHEADER_H