2
* This file is a part of the Cairo-Dock project
4
* Copyright : (C) see the 'copyright' file.
5
* E-mail : see the 'copyright' file.
7
* This program is free software; you can redistribute it and/or
8
* modify it under the terms of the GNU General Public License
9
* as published by the Free Software Foundation; either version 3
10
* of the License, or (at your option) any later version.
12
* This program is distributed in the hope that it will be useful,
13
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
* GNU General Public License for more details.
16
* You should have received a copy of the GNU General Public License
17
* along with this program. If not, see <http://www.gnu.org/licenses/>.
20
#ifndef __RHYTHMBOX_DBUS__
21
#define __RHYTHMBOX_DBUS__
23
#include <dbus/dbus-glib.h>
26
gboolean rhythmbox_dbus_connect_to_bus(void);
27
void rhythmbox_dbus_disconnect_from_bus (void);
29
void dbus_detect_rhythmbox(void);
31
void rhythmbox_getPlaying(void);
32
void rhythmbox_getPlayingUri(void);
33
void getSongInfos(gboolean bGetAll);
34
void onChangeSong(DBusGProxy *player_proxy, const gchar *uri, gpointer data);
35
void onChangePlaying(DBusGProxy *player_proxy,gboolean playing, gpointer data);
36
void onElapsedChanged(DBusGProxy *player_proxy,int elapsed, gpointer data);
37
void onCovertArtChanged(DBusGProxy *player_proxy,const gchar *cImageURI, gpointer data);