From 90d3aeb642ba4d6445932343010294a39b33efe2 Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Thu, 12 Nov 2009 22:00:02 +0000 Subject: added multiple playlists support git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@1363 90c681e8-e032-0410-971d-27865f9a5e38 --- src/qmmpui/mediaplayer.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/qmmpui/mediaplayer.h') diff --git a/src/qmmpui/mediaplayer.h b/src/qmmpui/mediaplayer.h index d0b84fad3..77969542c 100644 --- a/src/qmmpui/mediaplayer.h +++ b/src/qmmpui/mediaplayer.h @@ -21,9 +21,9 @@ #define MEDIAPLAYER_H #include +#include +#include "playlistmanager.h" -class PlayListModel; -class SoundCore; /*! @brief The MediaPlayer class provides a simple way to use SoundCore and PlayListModel together. * @author Ilya Kotov @@ -50,11 +50,11 @@ public: * @param core Pointer to the SoundCore object. * @param model Playlist model */ - void initialize(SoundCore *core, PlayListModel *model); + void initialize(SoundCore *core, PlayListManager *pl_mamager); /*! - * Returns playlist model pointer + * Returns playlist manager pointer */ - PlayListModel *playListModel(); + PlayListManager *playListManager(); /*! * Returns \b true if "Repeate Track" option is enabled, otherwise returns \b false */ @@ -94,7 +94,7 @@ private slots: void updateNextUrl(); private: - PlayListModel *m_model; + PlayListManager *m_pl_manager; SoundCore *m_core; static MediaPlayer* m_instance; bool m_repeat; -- cgit v1.2.3-13-gbd6f