diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2008-03-17 16:43:46 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2008-03-17 16:43:46 +0000 |
| commit | 4482829287e10dbac28fa50e1c32b55fe35ad378 (patch) | |
| tree | a3765702a3c68acc26dfd1476682d56164fb28fb /src/qmmpui/general.h | |
| parent | aba624d7a5b7f374562fb96ec1e8dc39917f86ae (diff) | |
| download | qmmp-4482829287e10dbac28fa50e1c32b55fe35ad378.tar.gz qmmp-4482829287e10dbac28fa50e1c32b55fe35ad378.tar.bz2 qmmp-4482829287e10dbac28fa50e1c32b55fe35ad378.zip | |
general plugin api changes
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@274 90c681e8-e032-0410-971d-27865f9a5e38
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; |
