Mercurial > audlegacy
diff src/audacious/dbus.h @ 3268:8af43e099cce trunk
Added function prototypes for Disconnect and GetMetadata methods, and a prototype for the Disconnected signal.
Modified the MPRIS functions so that they complete their task directly instead of calling the legacy DBus functions.
Implemented the /TrackList GetLength, DelTrack, and Random methods
author | Ben Tucker <ben.tucker@gmail.com> |
---|---|
date | Sat, 04 Aug 2007 01:13:08 -0700 |
parents | 3d740a3c5e16 |
children | 30ed2878807f |
line wrap: on
line diff
--- a/src/audacious/dbus.h Fri Aug 03 17:47:07 2007 -0700 +++ b/src/audacious/dbus.h Sat Aug 04 01:13:08 2007 -0700 @@ -30,4 +30,15 @@ #define AUDACIOUS_DBUS_PATH_MPRIS_PLAYER "/Player" #define AUDACIOUS_DBUS_PATH_MPRIS_TRACKLIST "/TrackList" +#define NONE = 0 +#define CAN_GO_NEXT = 1 << 0 +#define CAN_GO_PREV = 1 << 1 +#define CAN_PAUSE = 1 << 2 +#define CAN_PLAY = 1 << 3 +#define CAN_SEEK = 1 << 4 +#define CAN_RESTORE_CONTEXT = 1 << 5 +#define CAN_PROVIDE_METADATA = 1 << 6 +#define PROVIDES_TIMING = 1 << 7 + + #endif // !_AUDDBUS_H