mpviewplugins/mpcollectionviewplugin/tsrc/unittest_mpcollectioncontainers/stub/inc/mpenginefactory.h
changeset 58 ed94e1e8390e
equal deleted inserted replaced
54:c5b304f4d89b 58:ed94e1e8390e
       
     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 #include "mpengine.h"
       
    23 
       
    24 class MpPlaybackData;
       
    25 
       
    26 class MpEngineFactory
       
    27 {
       
    28     
       
    29 public:
       
    30     // Stub functions
       
    31 private:
       
    32     explicit MpEngineFactory();
       
    33 
       
    34 public:
       
    35     virtual ~MpEngineFactory();
       
    36     static MpEngineFactory * instance(); 
       
    37     static MpEngine * sharedEngine();
       
    38     
       
    39 private:
       
    40     Q_DISABLE_COPY( MpEngineFactory )
       
    41     
       
    42     MpEngine *mSharedEngine;
       
    43   
       
    44 };
       
    45 
       
    46 
       
    47 #endif // MPENGINEFACTORY_H