diff -r b31261fd4e04 -r ccd8e69b5392 mmsharing/mmshavailability/inc/musavasipheaderutil.h --- a/mmsharing/mmshavailability/inc/musavasipheaderutil.h Tue Feb 02 00:09:07 2010 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,129 +0,0 @@ -/* -* Copyright (c) 2005-2006 Nokia Corporation and/or its subsidiary(-ies). -* All rights reserved. -* This component and the accompanying materials are made available -* under the terms of "Eclipse Public License v1.0" -* which accompanies this distribution, and is available -* at the URL "http://www.eclipse.org/legal/epl-v10.html". -* -* Initial Contributors: -* Nokia Corporation - initial contribution. -* -* Contributors: -* -* Description: Sent capability query (OPTIONS) -* -*/ - - -#ifndef CMUSAVASIPHEADERUTIL_H -#define CMUSAVASIPHEADERUTIL_H - - -#include -#include - -class CSIPHeaderBase; -class CSIPRequestElements; -class CSIPConnection; - -/** - * Utility class to add some of the sip headers. - * @precondition SIPStrings::OpenL() and - * SdpCodecStringPool::OpenL() should be called. - * Else most of the function will leave. - * @lib AlwaysOnlinePlugin.dll - */ -class CMusAvaSipheaderUtil : public CBase - { - -public: - - /** - * Utility class to add some of the sip headers. - * @precondition SIPStrings::OpenL() and - * SdpCodecStringPool::OpenL() should be called. - * Else most of the function will leave. - * @lib AlwaysOnlinePlugin.dll - */ - - static void AddAcceptContactHeaderL( - RPointerArray& aRequestHeaders, - const RStringF& aFeatureTag ); - - /** - * Utility class to add some of the sip headers. - * @precondition SIPStrings::OpenL() and - * SdpCodecStringPool::OpenL() should be called. - * Else most of the function will leave. - * @lib AlwaysOnlinePlugin.dll - */ - - static void AddAcceptEncodingHeaderL( - RPointerArray& aRequestHeaders ); - - /** - * Utility class to add some of the sip headers. - * @precondition SIPStrings::OpenL() and - * SdpCodecStringPool::OpenL() should be called. - * Else most of the function will leave. - * @lib AlwaysOnlinePlugin.dll - */ - - static void AddAcceptLanguageHeaderL( - RPointerArray& aRequestHeaders ); - - /** - * Utility class to add some of the sip headers. - * @precondition SIPStrings::OpenL() and - * SdpCodecStringPool::OpenL() should be called. - * Else most of the function will leave. - * @lib AlwaysOnlinePlugin.dll - */ - - static void AddSdpL( CSIPRequestElements* aRequest,HBufC8* aContent ); - - /** - * Utility class to add some of the sip headers. - * @precondition SIPStrings::OpenL() and - * SdpCodecStringPool::OpenL() should be called. - * Else most of the function will leave. - * @lib AlwaysOnlinePlugin.dll - */ - - static void AddPreferredIdentityHeaderL( - RPointerArray& aRequestHeaders, - const TDesC8& aVal ); - - /** - * Utility class to add some of the sip headers. - * @precondition SIPStrings::OpenL() and - * SdpCodecStringPool::OpenL() should be called. - * Else most of the function will leave. - * @lib AlwaysOnlinePlugin.dll - */ - - static void LocalHostL(const CSIPConnection& aConn, TPtrC8& aLocalHost); - - /** - * Utility class to add some of the sip headers. - * @precondition SIPStrings::OpenL() and - * SdpCodecStringPool::OpenL() should be called. - * Else most of the function will leave. - * @lib AlwaysOnlinePlugin.dll - */ - - static void AddAcceptSdpHeaderL(RPointerArray& aRequestHeaders ); - - /** - * Utility class to add SIP privacy header when the PS key - * NMusSessionInformationApi::KMusClirSetting PS indicates so. - * @lib AlwaysOnlinePlugin.dll - */ - static void AddPrivacyHeaderL( - RPointerArray& aRequestHeaders ); - - }; - - -#endif // CMUSAVASIPHEADERUTIL_H