~audio-recorder/audio-recorder/trunk

101 by Osmo Antero
New media-player interface that's based on the MediaPlayer2 standard. See src/dbus-mpris2.c.
1
#include <string.h>
2
#include <glib.h>
3
#include <gdk/gdk.h>
4
#include <dbus/dbus.h>
5
6
void mpris2_module_init();
7
void mpris2_module_exit();
8
9
MediaPlayerRec *mpris2_player_new(const gchar *service_name);
10
11
gchar *mpris2_get_property_str(MediaPlayerRec *player, gchar *prop_name);
12
13
void mpris2_set_signals(gpointer player_rec, gboolean do_connect);
14
15
void mpris2_get_metadata(gpointer player_rec);
16
17
void mpris2_start_app(gpointer player_rec);
18
19
gboolean mpris2_service_is_running(gpointer player_rec);
20
gboolean mpris2_service_is_running_by_name(const char *service_name);
21
109 by Osmo Antero
Some MPRIS2 cleanups.
22
void mpris2_detect_players();
23
101 by Osmo Antero
New media-player interface that's based on the MediaPlayer2 standard. See src/dbus-mpris2.c.
24