diff -r ccd8e69b5392 -r 496ad160a278 inc/musavasettings.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/inc/musavasettings.h Fri Jun 11 13:36:18 2010 +0300 @@ -0,0 +1,146 @@ +/* +* 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: This interface is used by +* clients to get and availability setting for Video Charging +* +*/ + + +#ifndef __MUSAVASETTINGS_H__ +#define __MUSAVASETTINGS_H__ + +// INCLUDES +#include +#include +#include +#include + +class MMusAvaSettingsObserver; + +/** + * Defines setting interface for the MusAvailability Plug-in + * + * ECOM clients set and get setting are used by MusAvailability Plug-in. + * + * @lib musavailabilityplugin.lib + */ + +class MMusAvaSettings + { + +public: + + enum TManualActivation + { + EActivationNotExecuted, + EActivationExecuted, + EActivationAllowed, + EActivationNotAllowed + }; +public: + + /** + * Returns the fast mode value + * + * @return The fast mode value. + */ + virtual MusSettingsKeys::TFastMode FastMode() const; + + + /** + * Returns the manual activation + * + */ + virtual TManualActivation ManualActivation(); + + /** + * Returns the telephone number of remote host of active CS call. + * + * @return The telephone number. + */ + virtual const TDesC& TelNumber() const; + + /** + * Returns the contact name of remote host of active CS call. + * + * @return The contact name. + */ + virtual const TDesC& ContactName() const; + + /** + * Returns the possible SIP addresses of the remote host. + * + * @return The SIP addresses in an array. + */ + virtual const MDesCArray& SipAddresses() const; + + /** + * Returns the proposal for the remote host SIP address. + * + * @return The telephone number. + */ + virtual const TDesC& SipAddressProposal() const; + + /** + * Returns the contact id of the remote host. + * + * @return The contact id; KErrNotFound, if not found any. + */ + virtual TInt ContactId() const; + + /** + * Returns the supported video codecs. + * + * @return The video codecs + */ + virtual const MDesCArray& VideoCodecs() const; + + /** + * Returns the supported audio codecs. + * + * @return The supported audio codecs. + */ + virtual const MDesCArray& AudioCodecs() const; + + /** + * Returns the id of the preferable SIP profile. + * + * @return The SIP profile id. + */ + virtual TInt SipProfileId() const; + + /** + * Sets the settings observer pointer + * + */ + virtual void SetObserver( MMusAvaSettingsObserver& aObserver ); + + /* + * Gets the settings observer pointer + * + */ + MMusAvaSettingsObserver* Observer(); + + /** + * Sets the for the manual activation + * + */ + virtual void SetManualActivation( TManualActivation aManualActivation ); + + }; + +#include "musavasettings.inl" + +#endif +