diff options
Diffstat (limited to 'src/qmmpui/general.h')
| -rw-r--r-- | src/qmmpui/general.h | 29 |
1 files changed, 3 insertions, 26 deletions
diff --git a/src/qmmpui/general.h b/src/qmmpui/general.h index 7f4993211..8c26866ec 100644 --- a/src/qmmpui/general.h +++ b/src/qmmpui/general.h @@ -27,6 +27,8 @@ #include "songinfo.h" #include "generalfactory.h" +class Control; + /** @author Ilya Kotov <forkotov02@hotmail.ru> */ @@ -45,20 +47,9 @@ public: Stopped }; - enum Command - { - Play = 0, - Stop, - Pause, - Previous, - Next, - Exit, - ToggleVisibility - }; - virtual void setState(const uint &state); virtual void setSongInfo(const SongInfo &song); - virtual void updateVolume(int left, int right); + virtual void setVolume(int left, int right); //static methods static QList<GeneralFactory*> *generalFactories(); @@ -66,20 +57,6 @@ public: static void setEnabled(GeneralFactory* factory, bool enable = TRUE); static bool isEnabled(GeneralFactory* factory); -signals: - void commandCalled(uint command); - void volumeChanged(int left, int right); - -public slots: - void play(); - void pause(); - void stop(); - void next(); - void previous(); - void exit(); - void toggleVisibility(); - void setVolume(int left, int right); - private: QMap <uint, QString> m_strValues; QMap <uint, uint> m_numValues; |
