diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2008-11-24 21:54:59 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2008-11-24 21:54:59 +0000 |
| commit | a9946929bc45b96acd171a8137600277d122ccd9 (patch) | |
| tree | 5e675c6dbc697ac80ed3920c768c7fd6c328df0f /src/qmmpui/general.h | |
| parent | 52cdbf3b10333908693f21a7c04ff7983baf923e (diff) | |
| download | qmmp-a9946929bc45b96acd171a8137600277d122ccd9.tar.gz qmmp-a9946929bc45b96acd171a8137600277d122ccd9.tar.bz2 qmmp-a9946929bc45b96acd171a8137600277d122ccd9.zip | |
general api cleanup
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@631 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/qmmpui/general.h')
| -rw-r--r-- | src/qmmpui/general.h | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/src/qmmpui/general.h b/src/qmmpui/general.h index f35686903..981d32585 100644 --- a/src/qmmpui/general.h +++ b/src/qmmpui/general.h @@ -24,7 +24,6 @@ #include <QStringList> #include <QMap> -#include "songinfo.h" #include "generalfactory.h" class Control; @@ -40,7 +39,7 @@ public: ~General(); - enum State + /*enum State { Playing = 0, Paused, @@ -50,7 +49,7 @@ public: virtual void setState(const uint &state); virtual void setSongInfo(const SongInfo &song); virtual void setVolume(int left, int right); - virtual void setTime(int time); + virtual void setTime(int time);*/ //static methods static QList<GeneralFactory*> *generalFactories(); @@ -58,6 +57,16 @@ public: static void setEnabled(GeneralFactory* factory, bool enable = TRUE); static bool isEnabled(GeneralFactory* factory); +public slots: + void play(); + void exit(); + void toggleVisibility(); + +signals: + void playCalled(); + void exitCalled(); + void toggleVisibilityCalled(); + private: QMap <uint, QString> m_strValues; QMap <uint, uint> m_numValues; |
