diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-02-24 02:13:59 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-02-24 02:13:59 +0000 |
commit | a6d58bb6052ac8cb01805a48c4ad2f129126116f (patch) | |
tree | dd867a099fcbb263a8009a9fb22695b87855dad6 /src/modules/mediaplayer/mp_amipinterface.h | |
download | kvirc-a6d58bb6052ac8cb01805a48c4ad2f129126116f.tar.gz kvirc-a6d58bb6052ac8cb01805a48c4ad2f129126116f.zip |
Added KDE3 version of kvirc
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kvirc@1095341 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/modules/mediaplayer/mp_amipinterface.h')
-rw-r--r-- | src/modules/mediaplayer/mp_amipinterface.h | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/src/modules/mediaplayer/mp_amipinterface.h b/src/modules/mediaplayer/mp_amipinterface.h new file mode 100644 index 00000000..22bbf9d5 --- /dev/null +++ b/src/modules/mediaplayer/mp_amipinterface.h @@ -0,0 +1,58 @@ +#ifndef _MP_AMIPINTERFACE_H_ +#define _MP_AMIPINTERFACE_H_ + +#include "kvi_settings.h" + +#ifdef COMPILE_ON_WINDOWS + + #include "mp_interface.h" + + class KviAmipInterface : public KviMediaPlayerInterface + { + public: + KviAmipInterface(); + ~KviAmipInterface(); + public: + virtual int detect(bool bStart); + virtual bool prev(); + virtual bool next(); + virtual bool play(); + virtual bool stop(); + virtual bool pause(); + virtual bool quit(); + virtual QString nowPlaying(); + virtual QString artist(); + virtual QString title(); + virtual QString genre(); + virtual QString comment(); + virtual QString album(); + virtual QString year(); + virtual QString mrl(); + virtual int position(); + virtual int length(); + virtual bool setVol(kvs_int_t &iVol); + virtual int getVol(); + virtual bool jumpTo(kvs_int_t &iPos); + virtual int sampleRate(); + virtual int bitRate(); + virtual int channels(); + virtual bool hide(); + virtual bool show(); + virtual bool minimize(); + virtual int getPlayListPos(); + virtual bool setPlayListPos(kvs_int_t &iPos); + virtual int getListLength(); + virtual bool getRepeat(); + virtual bool getShuffle(); + virtual bool setRepeat(bool &bVal); + virtual bool setShuffle(bool &bVal); + virtual bool amipExec(const QString &cmd); + virtual QString amipEval(const QString &cmd); + virtual KviMediaPlayerInterface::PlayerStatus status(); + }; + + MP_DECLARE_DESCRIPTOR(KviAmipInterface) + +#endif //COMPILE_ON_WINDOWS + +#endif //!_MP_AMIPINTERFACE_H_ |