app/tsrc/unittest_mpglobalpopuphandler/stub/src/mpengine.cpp
changeset 47 4cc1412daed0
child 55 f3930dda3342
equal deleted inserted replaced
45:612c4815aebe 47:4cc1412daed0
       
     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: Stub for mpengine.
       
    15 *
       
    16 */
       
    17 
       
    18 #include "mpengine.h"
       
    19 #include "mpsongscanner.h" 
       
    20 
       
    21 MpEngine::MpEngine()
       
    22 {
       
    23 
       
    24 }
       
    25 
       
    26 /*!
       
    27  Destructs music player engine.
       
    28  */
       
    29 MpEngine::~MpEngine()
       
    30 {
       
    31 
       
    32 }
       
    33 
       
    34 /*!
       
    35  Initialize engine
       
    36  */
       
    37 void MpEngine::initialize( TUid hostUid, EngineMode mode )
       
    38 {
       
    39     Q_UNUSED( hostUid );
       
    40     Q_UNUSED( mode );
       
    41 }
       
    42 
       
    43 /*!
       
    44  \
       
    45  Returs the current songScanner instance
       
    46  */
       
    47 MpSongScanner *MpEngine::songScanner()
       
    48 {
       
    49     return mSongScanner;
       
    50 }