Mercurial > audlegacy
diff src/audlegacy/dbus.h @ 4811:7bf7f83a217e
rename src/audacious src/audlegacy so that both audlegacy and audacious can coexist.
author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
---|---|
date | Wed, 26 Nov 2008 00:44:56 +0900 |
parents | src/audacious/dbus.h@2eee464379dc |
children | f8e00917d6cc |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/audlegacy/dbus.h Wed Nov 26 00:44:56 2008 +0900 @@ -0,0 +1,44 @@ +/* + * Audacious: A cross-platform multimedia player + * Copyright (c) 2007 Ben Tucker + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; under version 3 of the License. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses>. + * + * The Audacious team does not consider modular code linking to + * Audacious or using our public API to be a derived work. + */ + +#ifndef AUDACIOUS_DBUS_H +#define AUDACIOUS_DBUS_H + +#define AUDACIOUS_DBUS_SERVICE "org.atheme.audacious" +#define AUDACIOUS_DBUS_PATH "/org/atheme/audacious" +#define AUDACIOUS_DBUS_INTERFACE "org.atheme.audacious" +#define AUDACIOUS_DBUS_SERVICE_MPRIS "org.mpris.audacious" +#define AUDACIOUS_DBUS_INTERFACE_MPRIS "org.freedesktop.MediaPlayer" +#define AUDACIOUS_DBUS_PATH_MPRIS_ROOT "/" +#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 /* AUDACIOUS_DBUS_H */