diff -r 000000000000 -r 0ce1b5ce9557 audiostubs/devsoundextensions_stubs/audioeffectscistubs/distanceattenuationcistub/inc/DistanceAttenuationCI.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/audiostubs/devsoundextensions_stubs/audioeffectscistubs/distanceattenuationcistub/inc/DistanceAttenuationCI.h Thu Jan 14 07:14:53 2010 +0200 @@ -0,0 +1,59 @@ +/* +* Copyright (c) 2004 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: Audio Stubs - This is the definition of the DistanceAttenuation Custom Interface class. +* +* +*/ + + +#include +#include + +class CMMFDevSound; + +class CDistanceAttenuationCI : public CDistanceAttenuation + { + public: // Constructor and Destructor + + /** + * Two-phased constructor. + */ + IMPORT_C static CDistanceAttenuationCI* NewL(CMMFDevSound& aDevSound); + + /** + * Destructor. + */ + virtual ~CDistanceAttenuationCI(); + + /** + * From CAudioEffect + * Apply effect settings + * @since 3.0 + */ + virtual void ApplyL(); + + IMPORT_C static CDistanceAttenuationCI* NewL(); + + private: + + /** + * C++ default constructor. + */ + CDistanceAttenuationCI(CMMFDevSound& aDevSound); + CDistanceAttenuationCI(); + + private: // Data + + CMMFDevSound* iDevSound; + };