From b2e1612aa76d5aead3f6a471154f7678a3b01b28 Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Wed, 29 Jun 2011 16:21:58 +0000 Subject: moved some code inside libqmmpui git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@2250 90c681e8-e032-0410-971d-27865f9a5e38 --- src/qmmpui/playlistmanager.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/qmmpui/playlistmanager.h') diff --git a/src/qmmpui/playlistmanager.h b/src/qmmpui/playlistmanager.h index b8559b05b..fde5f4270 100644 --- a/src/qmmpui/playlistmanager.h +++ b/src/qmmpui/playlistmanager.h @@ -39,6 +39,10 @@ public: * Destructor. */ ~PlayListManager(); + /*! + * Returns a pointer to the object's instance. + */ + static PlayListManager* instance(); /*! * Returns a list of all playlists. */ @@ -293,6 +297,7 @@ public slots: private: void readPlayLists(); void writePlayLists(); + static PlayListManager* m_instance; QList m_models; PlayListModel *m_current; PlayListModel *m_selected; -- cgit v1.2.3-13-gbd6f