diff -r 000000000000 -r 71ca22bcf22a mmfenh/enhancedmediaclient/Client/src/Components/CMMFAudioOutputSink/CMMFAudioOutputSink.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mmfenh/enhancedmediaclient/Client/src/Components/CMMFAudioOutputSink/CMMFAudioOutputSink.cpp Tue Feb 02 01:08:46 2010 +0200 @@ -0,0 +1,67 @@ +/* +* Copyright (c) 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: Implementation of the MmfAudioOutputSink class. +* +*/ + + +#include "CMMFAudioOutputSink.h" +#include + +#define RETURN_IF_ERROR(x) if(x != KErrNone) return x + +using namespace multimedia; + +// CONSTANTS +CMmfAudioOutputSink::CMmfAudioOutputSink() + { + } + +CMmfAudioOutputSink::~CMmfAudioOutputSink() + { + } + +TInt CMmfAudioOutputSink::PostConstructor() + { + TInt status(KErrNone); + return status; + } + +TInt CMmfAudioOutputSink::AddObserver( MControlObserver& /*aObserver*/ ) + { + return KErrNotSupported; + } + +TInt CMmfAudioOutputSink::RemoveObserver( MControlObserver& /*aObserver*/ ) + { + return KErrNotSupported; + } + +TUid CMmfAudioOutputSink::Type() + { + return KMMFAudioOutputSinkControl; + } + +TControlType CMmfAudioOutputSink::ControlType() + { + return ESinkControl; + } + + +TUid CMmfAudioOutputSink::GetSinkUid() + { + return KMMFAudioOutputSinkControl; + } + +// End of file