blob: 22bbf9d54db894dd0b9ca017f2c226234783c833 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
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_
|