diff -r 612c4815aebe -r 4cc1412daed0 mpengine/tsrc/unittest_mpengine/stub/inc/mpmpxplaybackframeworkwrapper.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mpengine/tsrc/unittest_mpengine/stub/inc/mpmpxplaybackframeworkwrapper.h Fri Aug 06 16:51:36 2010 -0500 @@ -0,0 +1,79 @@ +/* +* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: stub for MpMpxPlaybackFrameworkWrapper +* +*/ + +#ifndef MPMPXPLAYBACKFRAMEWORKWRAPPER_H +#define MPMPXPLAYBACKFRAMEWORKWRAPPER_H + +#include +#include "mpmpxcommondefs.h" +#include "mpcommondefs.h" +#include + +class MpPlaybackData; +class MpSongData; +class QStringList; + + +class MpMpxPlaybackFrameworkWrapper : public QObject +{ + Q_OBJECT + + friend class MpMpxPlaybackFrameworkWrapperPrivate; + +public: + + explicit MpMpxPlaybackFrameworkWrapper( TUid hostUid=TUid::Uid(MpCommon::KMusicPlayerUid), + MpSongData *songData=0, QObject *parent=0 ); + virtual ~MpMpxPlaybackFrameworkWrapper(); + + MpPlaybackData *playbackData(); + void setBalance( int balance ); + void applyAudioEffects(); + void applyEqualizer(); + + void retrieveSongDetails(); + +public slots: + + void play( QString aFilename ); + void play( const XQSharableFile& file ); + void play(); + void playPause(); + void stop(); + void skipForward(); + void startSeekForward(); + void stopSeeking(); + void skipBackward(); + void startSeekBackward(); + void setPosition( int position ); + void setShuffle( bool mode ); + void setRepeat( bool mode ); + void getMaxVolume(); + void pause(); + void getVolume(); + void increaseVolume(); + void decreaseVolume(); + void setVolume( int value ); + void getMuteState(); + void mute(); + void unmute(); + +public: + MpPlaybackData* mPlaybackData; +}; + +#endif // MPMPXPLAYBACKFRAMEWORKWRAPPER_H