diff -r 000000000000 -r bde4ae8d615e os/mm/mmhais/refacladapt/src/audiosink/audiodevicesink.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/os/mm/mmhais/refacladapt/src/audiosink/audiodevicesink.h Fri Jun 15 03:10:57 2012 +0200 @@ -0,0 +1,57 @@ +/* +* Copyright (c) 2007-2008 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: +* +*/ + + +#ifndef AUDIODEVICESINK_H +#define AUDIODEVICESINK_H + +#include +#include +#include + +#include "mmrcclient.h" + + +///// + // This is the implementation of CAudioSink API. + // + // @see CAudioComponent + /// +NONSHARABLE_CLASS(CAudioDeviceSink) : public CBase + { +public: + ///// + // Create a new instance. + // + // @return CAudioDeviceSink* a pointer to the created instance. + /// + IMPORT_C static CAudioDeviceSink* NewL(); + + ///// + // Destructor. + // + // Deletes all objects and releases all resource owned by this instance. + /// + virtual ~CAudioDeviceSink(); + +private: + + void ConstructL(); + CAudioDeviceSink(); + }; + +#endif // AUDIODEVICESINK_H