audiostubs/devsoundextensions_stubs/audioeffectscistubs/sourceorientationcistub/inc/SourceOrientationCI.h
changeset 46 e1758cbb96ac
parent 0 0ce1b5ce9557
child 9 f935d51494d1
equal deleted inserted replaced
43:e71858845f73 46:e1758cbb96ac
       
     1 /*
       
     2 * Copyright (c) 2004 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description: Audio Stubs -  This is the definition of the bassboost Custom Interface class.
       
    15 *				 This serves as an example of how adaptation might define the
       
    16 *				 custom interface class.
       
    17 *				 The CSourceOrientationCI object is typically instantiated by a DevSound
       
    18 *                instance and return to the client when the CustomInterface()
       
    19 *				 method is invoked.
       
    20 *
       
    21 *
       
    22 */
       
    23 
       
    24 
       
    25 #include <SourceOrientationBase.h>
       
    26 #include <MSourceOrientationObserver.h>
       
    27 
       
    28 class CMMFDevSound;
       
    29 
       
    30 class CSourceOrientationCI : public CSourceOrientation
       
    31 	{
       
    32 	public: // Constructor and Destructor
       
    33 
       
    34         /**
       
    35         * Two-phased constructor.
       
    36         */
       
    37 		IMPORT_C static CSourceOrientationCI* NewL(CMMFDevSound& aDevSound);
       
    38 
       
    39         /**
       
    40         * Destructor.
       
    41         */
       
    42 		virtual ~CSourceOrientationCI();
       
    43 
       
    44  	public: // From Base Class
       
    45 
       
    46 		/**
       
    47 		* From CAudioEffect
       
    48         * Apply effect settings
       
    49         * @since 3.0
       
    50         */
       
    51         virtual void ApplyL();
       
    52 
       
    53 		IMPORT_C static CSourceOrientationCI* NewL();
       
    54 
       
    55 	private:
       
    56 
       
    57         /**
       
    58         * C++ default constructor.
       
    59         */
       
    60         CSourceOrientationCI(CMMFDevSound& aDevSound);
       
    61         CSourceOrientationCI();
       
    62 
       
    63 	private: // Data
       
    64 
       
    65 		CMMFDevSound* iDevSound;
       
    66 	};