diff -r e71858845f73 -r e1758cbb96ac audiostubs/devsoundextensions_stubs/audioeffectscistubs/listenerorientationcistub/inc/ListenerOrientationCI.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/audiostubs/devsoundextensions_stubs/audioeffectscistubs/listenerorientationcistub/inc/ListenerOrientationCI.h Mon Oct 04 00:04:35 2010 +0300 @@ -0,0 +1,66 @@ +/* +* 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 bassboost Custom Interface class. +* This serves as an example of how adaptation might define the +* custom interface class. +* The CListenerOrientationCI object is typically instantiated by a DevSound +* instance and return to the client when the CustomInterface() +* method is invoked. +* +* +*/ + + +#include +#include + +class CMMFDevSound; + +class CListenerOrientationCI : public CListenerOrientation + { + public: // Constructor and Destructor + + /** + * Two-phased constructor. + */ + IMPORT_C static CListenerOrientationCI* NewL(CMMFDevSound& aDevSound); + + /** + * Destructor. + */ + virtual ~CListenerOrientationCI(); + + public: // From Base Class + + /** + * From CAudioEffect + * Apply effect settings + * @since 3.0 + */ + virtual void ApplyL(); + + IMPORT_C static CListenerOrientationCI* NewL(); + + private: + + /** + * C++ default constructor. + */ + CListenerOrientationCI(CMMFDevSound& aDevSound); + CListenerOrientationCI(); + + private: // Data + + CMMFDevSound* iDevSound; + };