mpengine/tsrc/unittest_mpequalizerframeworkwrapper/stub/inc/mdaaudioplayerutility.h
changeset 29 8192e5b5c935
equal deleted inserted replaced
25:3ec52facab4d 29:8192e5b5c935
       
     1 /*
       
     2 * Copyright (c) 2006 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: mdaaudioplayerutility stub for testing mpequalizerframeworkwrapper
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef CMDAAUDIOPLAYERUTILITY_H
       
    19 #define CMDAAUDIOPLAYERUTILITY_H
       
    20 
       
    21 
       
    22 #include <e32base.h>
       
    23 #include <mmf/common/mmfbase.h>
       
    24 
       
    25 //Forward declarations
       
    26 class MMdaAudioPlayerCallback;
       
    27 
       
    28 class CMdaAudioPlayerUtility : public CBase
       
    29 {
       
    30 public:  // Constructors and destructor
       
    31 
       
    32     static CMdaAudioPlayerUtility* NewL(MMdaAudioPlayerCallback& aCallback,
       
    33                                         TInt aPriority = EMdaPriorityNormal,
       
    34                                         TInt aPref = EMdaPriorityPreferenceTimeAndQuality);
       
    35 
       
    36     /**
       
    37     * Destructor.
       
    38     */
       
    39     virtual ~CMdaAudioPlayerUtility();
       
    40 
       
    41     void OpenFileL(const TDesC& aFileName);
       
    42     
       
    43     void Close();
       
    44 
       
    45 private:
       
    46 
       
    47     /**
       
    48     * C++ default constructor.
       
    49     */
       
    50     CMdaAudioPlayerUtility();
       
    51 
       
    52     /**
       
    53     * Second Phase Costructor for CMdaAudioPlayerUtility
       
    54     */
       
    55     void ConstructL();
       
    56 
       
    57 private: // Data
       
    58 
       
    59 };
       
    60 
       
    61 #endif      // CMDAAUDIOPLAYERUTILITY_H
       
    62