mpviewplugins/mpplaybackviewplugin/tsrc/unittest_mpmpxpbframeworkwrapper/stub/inc/mpplaybackdata.h
changeset 43 0f32e550d9d8
parent 38 b93f525c9244
child 45 612c4815aebe
--- a/mpviewplugins/mpplaybackviewplugin/tsrc/unittest_mpmpxpbframeworkwrapper/stub/inc/mpplaybackdata.h	Fri Jun 25 17:21:37 2010 -0500
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,72 +0,0 @@
-/*
-* 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: Playback Data stub for testing mpmpxpbframeworkwrapper
-*
-*/
-
-#ifndef MPPLAYBACKDATA_H
-#define MPPLAYBACKDATA_H
-
-#include <QObject>
-#include <QString>
-
-
-//class declaration
-class MpPlaybackData : public QObject
-{
-    Q_OBJECT
-
-public:
-    enum SimplifiedPlaybackState {
-        Playing,
-        Paused,
-        Stopped
-    };
-    
-    explicit MpPlaybackData();
-    virtual ~MpPlaybackData();
-
-    void setDuration( int duration);
-    void setPosition( int position);
-    bool setTitle( const QString& title);
-    bool setAlbum( const QString& album);
-    bool setArtist( const QString& artist);
-    void setAlbumArtUri( const QString& albumArtUri);
-    void setUri( const QString& aUri);
-    void setPlaybackState(const SimplifiedPlaybackState state );
-    int duration() const;
-    int position() const;
-    const QString& title() const;
-    const QString& album() const;
-    const QString& artist() const;
-    MpPlaybackData::SimplifiedPlaybackState playbackState();
-    void commitPlaybackInfo();
-    void handleMediaReady();
-
-
-public:
-    int                      mDuration;
-    int                      mPosition;
-    QString                  mTitle;
-    QString                  mAlbum;
-    QString                  mArtist;
-    SimplifiedPlaybackState  mPlaybackState;
-    QString                  currentAAUri; 
-    QString                  currentUri;
-    TBool                    mMediaReady;
-    
-    Q_DISABLE_COPY(MpPlaybackData)
-};
-
-#endif // MPPLAYBACKDATA_H