From a9946929bc45b96acd171a8137600277d122ccd9 Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Mon, 24 Nov 2008 21:54:59 +0000 Subject: general api cleanup git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@631 90c681e8-e032-0410-971d-27865f9a5e38 --- src/qmmpui/generalhandler.h | 31 +++++++++++++++---------------- 1 file changed, 15 insertions(+), 16 deletions(-) (limited to 'src/qmmpui/generalhandler.h') diff --git a/src/qmmpui/generalhandler.h b/src/qmmpui/generalhandler.h index a238e639c..710e817a1 100644 --- a/src/qmmpui/generalhandler.h +++ b/src/qmmpui/generalhandler.h @@ -21,8 +21,7 @@ #define GENERALHANDLER_H #include - -#include "songinfo.h" +#include class General; class Control; @@ -40,9 +39,9 @@ public: ~GeneralHandler(); - void setSongInfo(const SongInfo &info); + /*void setSongInfo(const SongInfo &info); void setVolume(int left, int right); - void setTime(int time); + void setTime(int time);*/ void setEnabled(GeneralFactory* factory, bool enable); void showSettings(GeneralFactory* factory, QWidget* parentWidget); @@ -52,29 +51,29 @@ public: signals: void playCalled(); - void pauseCalled(); + /*void pauseCalled(); void stopCalled(); void nextCalled(); void previousCalled(); - void seekCalled(int); + void seekCalled(int);*/ void exitCalled(); void toggleVisibilityCalled(); - void volumeChanged(int left, int right); + //void volumeChanged(int left, int right); -public slots: - void setState(uint state); +/*public slots: + void setState(uint state);*/ -private slots: - void processCommand(uint command); +/*private slots: + void processCommand(uint command);*/ private: void connectSignals(General*); QMap m_generals; - SongInfo m_songInfo; - Control* m_control; - int m_time; - uint m_state; - int m_left, m_right; + //SongInfo m_songInfo; + //Control* m_control; + //int m_time; + //uint m_state; + //int m_left, m_right; CommandLineManager *m_commandLineManager; static GeneralHandler* m_instance; }; -- cgit v1.2.3-13-gbd6f