audiostubs/devsoundextensions_stubs/audioeffectscistubs/bassboostcistub/inc/BassBoostCI.h
changeset 0 0ce1b5ce9557
child 3 f935d51494d1
equal deleted inserted replaced
-1:000000000000 0:0ce1b5ce9557
       
     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 CBassBoostCI 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 <BassBoostBase.h>
       
    26 #include <MBassBoostObserver.h>
       
    27 
       
    28 class CMMFDevSound;
       
    29 
       
    30 class CBassBoostCI : public CBassBoost
       
    31 	{
       
    32 	public: // Constructor and Destructor
       
    33 
       
    34         /**
       
    35         * Two-phased constructor.
       
    36         */
       
    37 		IMPORT_C static CBassBoostCI* NewL(CMMFDevSound& aDevSound);
       
    38 
       
    39         /**
       
    40         * Destructor.
       
    41         */
       
    42 		virtual ~CBassBoostCI();
       
    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    		/**
       
    54         * Two-phased constructor.
       
    55         */
       
    56 		IMPORT_C static CBassBoostCI* NewL();
       
    57 
       
    58 	private:
       
    59 
       
    60         /**
       
    61         * C++ default constructor.
       
    62         */
       
    63         CBassBoostCI(CMMFDevSound& aDevSound);
       
    64         CBassBoostCI();
       
    65 
       
    66 	private: // Data
       
    67 
       
    68 		CMMFDevSound* iDevSound;
       
    69 	};