mpviewplugins/mpplaybackviewplugin/tsrc/unittest_mpplaybackview/stub/inc/mpenginefactory.h
changeset 48 af3740e3753f
child 55 f3930dda3342
equal deleted inserted replaced
42:79c49924ae23 48:af3740e3753f
       
     1 /*
       
     2 * Copyright (c) 2009 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: MpEngineFactory stub for testing mpplaybackview
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef MPENGINEFACTORY_H
       
    19 #define MPENGINEFACTORY_H
       
    20 
       
    21 #include <hbglobal.h>
       
    22 
       
    23 
       
    24 class MpPlaybackData;
       
    25 class MpEngine;
       
    26 
       
    27 class MpEngineFactory
       
    28 {
       
    29     
       
    30 public:
       
    31     // Stub functions
       
    32 private:
       
    33     explicit MpEngineFactory();
       
    34 
       
    35 public:
       
    36     virtual ~MpEngineFactory();
       
    37     static MpEngineFactory * instance(); 
       
    38     static MpEngine * sharedEngine();
       
    39     
       
    40 private:
       
    41     Q_DISABLE_COPY( MpEngineFactory )
       
    42     
       
    43     MpEngine *mSharedEngine;
       
    44   
       
    45 };
       
    46 
       
    47 
       
    48 #endif // MPENGINEFACTORY_H