mpengine/tsrc/unittest_mpmpxcollectionframeworkwrapper/stub/src/mpsongdata.cpp
changeset 43 0f32e550d9d8
equal deleted inserted replaced
38:b93f525c9244 43:0f32e550d9d8
       
     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: mpsongdata stub for testing mpmpxframeworkwrapper.
       
    15 *
       
    16 */
       
    17 
       
    18 #include <mpxmedia.h>
       
    19 #include "stub/inc/mpsongdata.h"
       
    20 #include "mptrace.h"
       
    21 
       
    22 /*!
       
    23  Stub function.
       
    24 */
       
    25 MpSongData::MpSongData( QObject *parent )
       
    26     : QObject( parent ),
       
    27       iSetMedia( false )
       
    28 {
       
    29     TX_LOG_ARGS("Stub")
       
    30 }
       
    31 
       
    32 /*!
       
    33  Stub function.
       
    34 */
       
    35 MpSongData::~MpSongData()
       
    36 {
       
    37     TX_LOG_ARGS("Stub")
       
    38 }
       
    39 
       
    40 void MpSongData::setMpxMedia( const CMPXMedia& aMedia )
       
    41 {
       
    42     TX_LOG_ARGS("Stub")
       
    43     Q_UNUSED( aMedia );
       
    44     iSetMedia = true;
       
    45 }