1 #ifndef _MP_AUDACIOUSINTERFACE_H_
2 #define _MP_AUDACIOUSINTERFACE_H_
31 #if(defined(COMPILE_DBUS_SUPPORT) && !defined(COMPILE_ON_WINDOWS) && !defined(COMPILE_ON_MAC) && !defined(COMPILE_ON_MINGW))
32 #include <QtDBus/QtDBus>
38 virtual ~MpMprisInterface();
41 QString m_szServiceName;
42 virtual int detect(
bool bStart);
51 virtual QString
mrl();
52 virtual QString
title();
54 virtual QString
genre();
56 virtual QString
year();
57 virtual QString
album();
67 class MpAudaciousInterface :
public MpMprisInterface
70 MpAudaciousInterface();
75 virtual QString mrl();
78 virtual int getPlayListPos();
79 virtual QString year();
80 virtual QString mediaType();
83 class MpBmpxInterface :
public MpMprisInterface
90 class MpAmarok2Interface :
public MpMprisInterface
96 class MpQmmpInterface :
public MpMprisInterface
102 class MpXmms2Interface :
public MpMprisInterface
108 class MpSongbirdInterface :
public MpMprisInterface
111 MpSongbirdInterface();
115 class MpTotemInterface :
public MpMprisInterface
121 class MpVlcInterface :
public MpMprisInterface
127 class MpClementineInterface :
public MpMprisInterface
130 MpClementineInterface();
142 #endif //COMPILE_ON_WINDOWS
144 #endif //_MP_AUDACIOUSINTERFACE_H_
PlayerStatus
Definition: MpInterface.h:113
virtual MpInterface::PlayerStatus status()
Definition: MpInterface.cpp:191
virtual QString comment()
Definition: MpInterface.cpp:136
virtual QString album()
Definition: MpInterface.cpp:149
void quit()
Definition: winamp.cpp:125
virtual QString genre()
Definition: MpInterface.cpp:130
virtual bool jumpTo(kvs_int_t &iPos)
Definition: MpInterface.cpp:185
virtual int sampleRate()
Definition: MpInterface.cpp:203
virtual QString title()
Definition: MpInterface.cpp:124
virtual bool setVol(kvs_int_t &iVol)
Definition: MpInterface.cpp:167
virtual QString nowPlaying()=0
Definition: MpInterface.h:31
virtual bool quit()
Definition: MpInterface.cpp:58
virtual int bitRate()
Definition: MpInterface.cpp:197
virtual int length()
Definition: MpInterface.cpp:52
virtual int position()
Definition: MpInterface.cpp:46
virtual int getVol()
Definition: MpInterface.cpp:173
This file contains compile time settings.
#define MP_DECLARE_DESCRIPTOR(_interfaceclass)
Definition: MpInterface.h:200
virtual QString year()
Definition: MpInterface.cpp:142
kvi_i64_t kvs_int_t
Definition: KviKvsTypes.h:33
virtual QString artist()
Definition: MpInterface.cpp:118
virtual int detect(bool bStart)=0