comparison src/audacious/dbus-service.h @ 2766:ea20b1e92411 trunk

[svn] Added CMD_GET_INFO and CMD_PLAYLIST_GET_TUPLE_DATA replacements; Changed some formatting and used unsigned numbers where appropriate.
author magma
date Sun, 13 May 2007 02:31:11 -0700
parents cf080b11c3fa
children bf2d80abf76e
comparison
equal deleted inserted replaced
2765:313ac85816bb 2766:ea20b1e92411
38 void free_dbus(); 38 void free_dbus();
39 DBusGProxy *audacious_get_dbus_proxy(); 39 DBusGProxy *audacious_get_dbus_proxy();
40 40
41 // Audacious General Information 41 // Audacious General Information
42 gboolean audacious_rc_version(RemoteObject *obj, gchar **version, 42 gboolean audacious_rc_version(RemoteObject *obj, gchar **version,
43 GError **error); 43 GError **error);
44 gboolean audacious_rc_quit(RemoteObject *obj, GError **error); 44 gboolean audacious_rc_quit(RemoteObject *obj, GError **error);
45 gboolean audacious_rc_eject(RemoteObject *obj, GError **error); 45 gboolean audacious_rc_eject(RemoteObject *obj, GError **error);
46 gboolean audacious_rc_main_win_visible(RemoteObject *obj, 46 gboolean audacious_rc_main_win_visible(RemoteObject *obj,
47 gboolean *is_main_win, GError **error); 47 gboolean *is_main_win, GError **error);
48 gboolean audacious_rc_show_main_win(RemoteObject *obj, gboolean show, 48 gboolean audacious_rc_show_main_win(RemoteObject *obj, gboolean show,
49 GError **error);
50 gboolean audacious_rc_equalizer_visible(RemoteObject *obj, gboolean *is_eq_win,
49 GError **error); 51 GError **error);
50 gboolean audacious_rc_equalizer_visible(RemoteObject *obj,
51 gboolean *is_eq_win, GError **error);
52 gboolean audacious_rc_show_equalizer(RemoteObject *obj, gboolean show, 52 gboolean audacious_rc_show_equalizer(RemoteObject *obj, gboolean show,
53 GError **error); 53 GError **error);
54 gboolean audacious_rc_playlist_visible(RemoteObject *obj, 54 gboolean audacious_rc_playlist_visible(RemoteObject *obj,
55 gboolean *is_pl_win, 55 gboolean *is_pl_win,
56 GError **error); 56 GError **error);
57 gboolean audacious_rc_show_playlist(RemoteObject *obj, gboolean show, 57 gboolean audacious_rc_show_playlist(RemoteObject *obj, gboolean show,
58 GError **error); 58 GError **error);
59 59
60 // Playback Information/Manipulation 60 // Playback Information/Manipulation
61 gboolean audacious_rc_play(RemoteObject *obj, GError **error); 61 gboolean audacious_rc_play(RemoteObject *obj, GError **error);
62 gboolean audacious_rc_pause(RemoteObject *obj, GError **error); 62 gboolean audacious_rc_pause(RemoteObject *obj, GError **error);
63 gboolean audacious_rc_stop(RemoteObject *obj, GError **error); 63 gboolean audacious_rc_stop(RemoteObject *obj, GError **error);
64 gboolean audacious_rc_playing(RemoteObject *obj, gboolean *is_playing, 64 gboolean audacious_rc_playing(RemoteObject *obj, gboolean *is_playing,
65 GError **error); 65 GError **error);
66 gboolean audacious_rc_paused(RemoteObject *obj, gboolean *is_paused, 66 gboolean audacious_rc_paused(RemoteObject *obj, gboolean *is_paused,
67 GError **error); 67 GError **error);
68 gboolean audacious_rc_stopped(RemoteObject *obj, gboolean *is_stopped, 68 gboolean audacious_rc_stopped(RemoteObject *obj, gboolean *is_stopped,
69 GError **error); 69 GError **error);
70 gboolean audacious_rc_status(RemoteObject *obj, gchar **status, 70 gboolean audacious_rc_status(RemoteObject *obj, gchar **status,
71 GError **error); 71 GError **error);
72 gboolean audacious_rc_info(RemoteObject *obj, gint *rate, gint *freq,
73 gint *nch, GError **error);
72 gboolean audacious_rc_time(RemoteObject *obj, gint *time, GError **error); 74 gboolean audacious_rc_time(RemoteObject *obj, gint *time, GError **error);
73 gboolean audacious_rc_seek(RemoteObject *obj, guint pos, GError **error); 75 gboolean audacious_rc_seek(RemoteObject *obj, guint pos, GError **error);
74 gboolean audacious_rc_volume(RemoteObject *obj, gint *vl, gint *vr, 76 gboolean audacious_rc_volume(RemoteObject *obj, gint *vl, gint *vr,
77 GError **error);
78 gboolean audacious_rc_set_volume(RemoteObject *obj, gint vl, gint vr,
75 GError **error); 79 GError **error);
76 gboolean audacious_rc_set_volume(RemoteObject *obj, gint vl, gint vr,
77 GError **error);
78 gboolean audacious_rc_balance(RemoteObject *obj, gint *balance, 80 gboolean audacious_rc_balance(RemoteObject *obj, gint *balance,
79 GError **error); 81 GError **error);
80 82
81 // Playlist Information/Manipulation 83 // Playlist Information/Manipulation
82 gboolean audacious_rc_position(RemoteObject *obj, int *pos, GError **error); 84 gboolean audacious_rc_position(RemoteObject *obj, int *pos, GError **error);
83 gboolean audacious_rc_advance(RemoteObject *obj, GError **error); 85 gboolean audacious_rc_advance(RemoteObject *obj, GError **error);
84 gboolean audacious_rc_reverse(RemoteObject *obj, GError **error); 86 gboolean audacious_rc_reverse(RemoteObject *obj, GError **error);
85 gboolean audacious_rc_length(RemoteObject *obj, int *length, 87 gboolean audacious_rc_length(RemoteObject *obj, int *length,
86 GError **error); 88 GError **error);
87 gboolean audacious_rc_song_title(RemoteObject *obj, int pos, 89 gboolean audacious_rc_song_title(RemoteObject *obj, guint pos,
88 gchar **title, GError **error); 90 gchar **title, GError **error);
89 gboolean audacious_rc_song_filename(RemoteObject *obj, int pos, 91 gboolean audacious_rc_song_filename(RemoteObject *obj, guint pos,
90 gchar **filename, GError **error); 92 gchar **filename, GError **error);
91 gboolean audacious_rc_song_length(RemoteObject *obj, int pos, int *length, 93 gboolean audacious_rc_song_length(RemoteObject *obj, guint pos, int *length,
92 GError **error); 94 GError **error);
93 gboolean audacious_rc_song_frames(RemoteObject *obj, int pos, int *length, 95 gboolean audacious_rc_song_frames(RemoteObject *obj, guint pos, int *length,
94 GError **error); 96 GError **error);
95 gboolean audacious_rc_jump(RemoteObject *obj, int pos, GError **error); 97 gboolean audacious_rc_song_tuple(RemoteObject *obj, guint pos, gchar *tuple,
98 GValue *value, GError **error);
99 gboolean audacious_rc_jump(RemoteObject *obj, guint pos, GError **error);
100 gboolean audacious_rc_add(RemoteObject *obj, gchar *file, GError **error);
96 gboolean audacious_rc_add_url(RemoteObject *obj, gchar *url, 101 gboolean audacious_rc_add_url(RemoteObject *obj, gchar *url,
97 GError **error); 102 GError **error);
98 gboolean audacious_rc_delete(RemoteObject *obj, int pos, GError **error); 103 gboolean audacious_rc_delete(RemoteObject *obj, guint pos, GError **error);
99 gboolean audacious_rc_clear(RemoteObject *obj, GError **error); 104 gboolean audacious_rc_clear(RemoteObject *obj, GError **error);
100 gboolean audacious_rc_repeating(RemoteObject *obj, gboolean *is_repeating, 105 gboolean audacious_rc_repeating(RemoteObject *obj, gboolean *is_repeating,
101 GError **error); 106 GError **error);
102 gboolean audacious_rc_repeat(RemoteObject *obj, GError **error); 107 gboolean audacious_rc_repeat(RemoteObject *obj, GError **error);
103 gboolean audacious_rc_shuffling(RemoteObject *obj, gboolean *is_shuffling, 108 gboolean audacious_rc_shuffling(RemoteObject *obj, gboolean *is_shuffling,
104 GError **error); 109 GError **error);
105 gboolean audacious_rc_shuffle(RemoteObject *obj, GError **error); 110 gboolean audacious_rc_shuffle(RemoteObject *obj, GError **error);
106 #endif // !_DBUS_SERVICE_H 111 #endif // !_DBUS_SERVICE_H