diff -r ccd8e69b5392 -r 496ad160a278 inc/musavasettings.inl --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/inc/musavasettings.inl Fri Jun 11 13:36:18 2010 +0300 @@ -0,0 +1,170 @@ +/* +* 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: ECOM interface default implementation. +* +*/ + + +#ifndef MUSAVASETTING_INL +#define MUSAVASETTING_INL + +#include "musavasettings.h" + +// ----------------------------------------------------------------------------- +// +// ----------------------------------------------------------------------------- +// +inline MusSettingsKeys::TFastMode MMusAvaSettings::FastMode() const + { + User::Leave( KErrNotSupported ); + return MusSettingsKeys::EFastModeOff; + } + +// ----------------------------------------------------------------------------- +// +// ----------------------------------------------------------------------------- +// +inline MMusAvaSettings::TManualActivation MMusAvaSettings::ManualActivation() + { + User::Leave( KErrNotSupported ); + return MMusAvaSettings::EActivationNotExecuted; + } +// ----------------------------------------------------------------------------- +// +// ----------------------------------------------------------------------------- +// +inline const TDesC& MMusAvaSettings::TelNumber() const + { + User::Leave( KErrNotSupported ); + + // this line is never reached; exists only to avoid warning + return KNullDesC(); + } + + +// ----------------------------------------------------------------------------- +// +// ----------------------------------------------------------------------------- +// +inline const TDesC& MMusAvaSettings::ContactName() const + { + User::Leave( KErrNotSupported ); + + // this line is never reached; exists only to avoid warning + return KNullDesC(); + } + + +// ----------------------------------------------------------------------------- +// +// ----------------------------------------------------------------------------- +// +inline const MDesCArray& MMusAvaSettings::SipAddresses() const + { + User::Leave( KErrNotSupported ); + + // this line is never reached; exists only to avoid warning + return ( MDesCArray& ) KErrNotSupported; + } + + +// ----------------------------------------------------------------------------- +// +// ----------------------------------------------------------------------------- +// +inline const TDesC& MMusAvaSettings::SipAddressProposal() const + { + User::Leave( KErrNotSupported ); + + // this line is never reached; exists only to avoid warning + return KNullDesC(); + } + +// ----------------------------------------------------------------------------- +// +// ----------------------------------------------------------------------------- +// +inline TInt MMusAvaSettings::ContactId() const + { + User::Leave( KErrNotSupported ); + + // this line is never reached; exists only to avoid warning + return KErrNone; + } + +// ----------------------------------------------------------------------------- +// +// ----------------------------------------------------------------------------- +// +inline const MDesCArray& MMusAvaSettings::VideoCodecs() const + { + User::Leave( KErrNotSupported ); + + // this line is never reached; exists only to avoid warning + return ( MDesCArray& ) KErrNotSupported; + } + +// ----------------------------------------------------------------------------- +// +// ----------------------------------------------------------------------------- +// +inline const MDesCArray& MMusAvaSettings::AudioCodecs() const + { + User::Leave( KErrNotSupported ); + + // this line is never reached; exists only to avoid warning + return ( MDesCArray& ) KErrNotSupported; + } + +// ----------------------------------------------------------------------------- +// +// ----------------------------------------------------------------------------- +// +inline TInt MMusAvaSettings::SipProfileId() const + { + User::Leave( KErrNotSupported ); + + // this line is never reached; exists only to avoid warning + return KErrNotSupported; + } + +// ----------------------------------------------------------------------------- +// +// ----------------------------------------------------------------------------- +// +inline void MMusAvaSettings::SetObserver( MMusAvaSettingsObserver& /*aObserver*/ ) + { + User::Leave( KErrNotSupported ); + } + +// ----------------------------------------------------------------------------- +// +// ----------------------------------------------------------------------------- +// +inline MMusAvaSettingsObserver* MMusAvaSettings::Observer() + { + return NULL; + } + +// ----------------------------------------------------------------------------- +// +// ----------------------------------------------------------------------------- +// +inline void MMusAvaSettings::SetManualActivation( TManualActivation /*aManualActivation*/ ) + { + User::Leave( KErrNotSupported ); + } + + +#endif // MUSAVASETTING_INL