1 /*****************************************************************************
2 * dbus_tracklist.h : dbus control module (mpris v2.2) - TrackList object
3 *****************************************************************************
4 * Copyright © 2006-2008 Rafaël Carré
5 * Copyright © 2007-2010 Mirsal Ennaime
6 * Copyright © 2009-2010 The VideoLAN team
8 * Authors: Mirsal Ennaime <mirsal at mirsal fr>
9 * Rafaël Carré <funman at videolanorg>
11 * This program is free software; you can redistribute it and/or modify
12 * it under the terms of the GNU General Public License as published by
13 * the Free Software Foundation; either version 2 of the License, or
14 * (at your option) any later version.
16 * This program is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
21 * You should have received a copy of the GNU General Public License
22 * along with this program; if not, write to the Free Software
23 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
24 *****************************************************************************/
26 #ifndef VLC_DBUS_DBUS_TRACKLIST_H_
27 #define VLC_DBUS_DBUS_TRACKLIST_H_
29 #include <vlc_common.h>
30 #include <vlc_interface.h>
31 #include "dbus_common.h"
33 #define DBUS_MPRIS_TRACKLIST_INTERFACE "org.mpris.MediaPlayer2.TrackList"
34 #define DBUS_MPRIS_TRACKLIST_PATH "/org/mpris/MediaPlayer2/TrackList"
36 #define DBUS_MPRIS_NOTRACK "/org/mpris/MediaPlayer2/TrackList/NoTrack"
37 #define DBUS_MPRIS_APPEND "/org/mpris/MediaPlayer2/TrackList/Append"
39 /* Handle incoming dbus messages */
40 DBusHandlerResult handle_tracklist ( DBusConnection *p_conn,
44 int TrackListPropertiesChangedEmit( intf_thread_t *, vlc_dictionary_t * );
46 #endif /* include-guard */