audiostubs/devsoundextensions_stubs/audioeffectscistubs/sourcedopplercistub/inc/SourceDopplerCI.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 SourceDoppler Custom Interface class.
       
    15 *				 This serves as an example of how adaptation might define the
       
    16 *				 custom interface class.
       
    17 *				 The CSourceDopplerCI 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 <SourceDopplerBase.h>
       
    26 #include <MSourceDopplerObserver.h>
       
    27 
       
    28 class CMMFDevSound;
       
    29 
       
    30 class CSourceDopplerCI : public CSourceDoppler
       
    31 	{
       
    32 	public: // Constructor and Destructor
       
    33 
       
    34         /**
       
    35         * Two-phased constructor.
       
    36         */
       
    37 		IMPORT_C static CSourceDopplerCI* NewL(CMMFDevSound& aDevSound);
       
    38 
       
    39         /**
       
    40         * Destructor.
       
    41         */
       
    42 		virtual ~CSourceDopplerCI();
       
    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 CSourceDopplerCI* NewL();
       
    54 
       
    55 	private:
       
    56 
       
    57         /**
       
    58         * C++ default constructor.
       
    59         */
       
    60         CSourceDopplerCI(CMMFDevSound& aDevSound);
       
    61         CSourceDopplerCI();
       
    62 
       
    63 	private: // Data
       
    64 
       
    65 		CMMFDevSound* iDevSound;
       
    66 	};