summaryrefslogtreecommitdiffstats
path: root/src/modules/mediaplayer/mp_amipinterface.h
blob: 5d49f69d379b35a3253e52754f3f190be15ef72b (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 TQString nowPlaying();
    virtual TQString artist();
    virtual TQString title();
    virtual TQString genre();
    virtual TQString comment();
    virtual TQString album();
    virtual TQString year();
    virtual TQString 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 TQString &cmd);
    virtual TQString amipEval(const TQString &cmd);
    virtual KviMediaPlayerInterface::PlayerStatus status();
  };
  
  MP_DECLARE_DESCRIPTOR(KviAmipInterface)
  
#endif //COMPILE_ON_WINDOWS

#endif //!_MP_AMIPINTERFACE_H_