comparison 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
comparison
equal deleted inserted replaced
4810:c10e53092037 4811:7bf7f83a217e
1 /*
2 * Audacious: A cross-platform multimedia player
3 * Copyright (c) 2007 Ben Tucker
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; under version 3 of the License.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program. If not, see <http://www.gnu.org/licenses>.
16 *
17 * The Audacious team does not consider modular code linking to
18 * Audacious or using our public API to be a derived work.
19 */
20
21 #ifndef AUDACIOUS_DBUS_H
22 #define AUDACIOUS_DBUS_H
23
24 #define AUDACIOUS_DBUS_SERVICE "org.atheme.audacious"
25 #define AUDACIOUS_DBUS_PATH "/org/atheme/audacious"
26 #define AUDACIOUS_DBUS_INTERFACE "org.atheme.audacious"
27 #define AUDACIOUS_DBUS_SERVICE_MPRIS "org.mpris.audacious"
28 #define AUDACIOUS_DBUS_INTERFACE_MPRIS "org.freedesktop.MediaPlayer"
29 #define AUDACIOUS_DBUS_PATH_MPRIS_ROOT "/"
30 #define AUDACIOUS_DBUS_PATH_MPRIS_PLAYER "/Player"
31 #define AUDACIOUS_DBUS_PATH_MPRIS_TRACKLIST "/TrackList"
32
33 #define NONE = 0
34 #define CAN_GO_NEXT = 1 << 0
35 #define CAN_GO_PREV = 1 << 1
36 #define CAN_PAUSE = 1 << 2
37 #define CAN_PLAY = 1 << 3
38 #define CAN_SEEK = 1 << 4
39 #define CAN_RESTORE_CONTEXT = 1 << 5
40 #define CAN_PROVIDE_METADATA = 1 << 6
41 #define PROVIDES_TIMING = 1 << 7
42
43
44 #endif /* AUDACIOUS_DBUS_H */