Mercurial > audlegacy
annotate src/libaudclient/audctrl.c @ 2738:1eb06f902923 trunk
[svn] - call SongFrames not SongLength
| author | nenolod |
|---|---|
| date | Fri, 11 May 2007 13:02:49 -0700 |
| parents | ccf3e141fb1e |
| children | c89362b15525 |
| rev | line source |
|---|---|
|
2711
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
1 /* |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
2 * Audacious: A cross-platform multimedia player |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
3 * Copyright (c) 2007 Ben Tucker |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
4 * |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
5 * This program is free software; you can redistribute it and/or modify |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
6 * it under the terms of the GNU General Public License as published by |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
7 * the Free Software Foundation; under version 2 of the License. |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
8 * |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
9 * This program is distributed in the hope that it will be useful, |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
12 * GNU General Public License for more details. |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
13 * |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
14 * You should have received a copy of the GNU General Public License |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
15 * along with this program; if not, write to the Free Software |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
16 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
17 * 02110-1301, USA. |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
18 */ |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
19 |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
20 #ifdef HAVE_CONFIG_H |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
21 # include "config.h" |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
22 #endif |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
23 |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
24 #include <stdlib.h> |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
25 #include <glib.h> |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
26 #include <dbus/dbus-glib.h> |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
27 #include "audacious/dbus.h" |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
28 #include "audacious/dbus-client-bindings.h" |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
29 #include "audctrl.h" |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
30 |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
31 GError *error = NULL; |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
32 |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
33 void audacious_remote_playlist(DBusGProxy *proxy, gchar **list, gint num, |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
34 gboolean enqueue) { |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
35 } |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
36 |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
37 gint audacious_remote_get_version(DBusGProxy *proxy) { |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
38 return 0; |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
39 } |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
40 |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
41 void audacious_remote_playlist_add(DBusGProxy *proxy, GList *list) { |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
42 } |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
43 |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
44 void audacious_remote_playlist_delete(DBusGProxy *proxy, gint pos) { |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
45 } |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
46 |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
47 void audacious_remote_play(DBusGProxy *proxy) { |
|
2731
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
48 org_atheme_audacious_play(proxy, &error); |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
49 g_clear_error(&error); |
|
2711
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
50 } |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
51 |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
52 void audacious_remote_pause(DBusGProxy *proxy) { |
|
2731
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
53 org_atheme_audacious_pause(proxy, &error); |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
54 g_clear_error(&error); |
|
2711
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
55 } |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
56 |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
57 void audacious_remote_stop(DBusGProxy *proxy) { |
|
2731
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
58 org_atheme_audacious_stop(proxy, &error); |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
59 g_clear_error(&error); |
|
2711
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
60 } |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
61 |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
62 gboolean audacious_remote_is_playing(DBusGProxy *proxy) { |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
63 gboolean is_playing; |
|
2731
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
64 org_atheme_audacious_playing(proxy, &is_playing, &error); |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
65 g_clear_error(&error); |
|
2711
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
66 return is_playing; |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
67 } |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
68 |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
69 gboolean audacious_remote_is_paused(DBusGProxy *proxy) { |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
70 gboolean is_paused; |
|
2731
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
71 org_atheme_audacious_paused(proxy, &is_paused, &error); |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
72 g_clear_error(&error); |
|
2711
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
73 return is_paused; |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
74 } |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
75 |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
76 gint audacious_remote_get_playlist_pos(DBusGProxy *proxy) { |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
77 gint pos; |
|
2731
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
78 org_atheme_audacious_position(proxy, &pos, &error); |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
79 g_clear_error(&error); |
|
2711
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
80 return pos; |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
81 } |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
82 |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
83 void audacious_remote_set_playlist_pos(DBusGProxy *proxy, gint pos) { |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
84 } |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
85 |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
86 gint audacious_remote_get_playlist_length(DBusGProxy *proxy) { |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
87 gint len; |
|
2731
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
88 org_atheme_audacious_length(proxy, &len, &error); |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
89 g_clear_error(&error); |
|
2711
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
90 return len; |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
91 } |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
92 |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
93 void audacious_remote_playlist_clear(DBusGProxy *proxy) { |
|
2731
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
94 org_atheme_audacious_clear(proxy, &error); |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
95 g_clear_error(&error); |
|
2711
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
96 } |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
97 |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
98 gint audacious_remote_get_output_time(DBusGProxy *proxy) { |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
99 gint time; |
|
2731
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
100 org_atheme_audacious_time(proxy, &time, &error); |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
101 g_clear_error(&error); |
|
2711
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
102 return time; |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
103 } |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
104 |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
105 void audacious_remote_jump_to_time(DBusGProxy *proxy, gint pos) { |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
106 } |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
107 |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
108 /** |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
109 * audacious_remote_get_volume: |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
110 * @proxy: DBus proxy for audacious |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
111 * @vl: Pointer to integer containing the left channel's volume. |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
112 * @vr: Pointer to integer containing the right channel's volume. |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
113 * |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
114 * Queries audacious about the current volume. |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
115 **/ |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
116 void audacious_remote_get_volume(DBusGProxy *proxy, gint * vl, gint * vr) { |
|
2731
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
117 org_atheme_audacious_volume(proxy, vl, vr, &error); |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
118 g_clear_error(&error); |
|
2711
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
119 } |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
120 |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
121 /** |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
122 * audacious_remote_get_main_volume: |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
123 * @proxy: DBus proxy for audacious |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
124 * |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
125 * Queries audacious about the current volume. |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
126 * |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
127 * Return value: The current volume. |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
128 **/ |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
129 gint audacious_remote_get_main_volume(DBusGProxy *proxy) { |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
130 gint vl, vr; |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
131 |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
132 audacious_remote_get_volume(proxy, &vl, &vr); |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
133 |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
134 return (vl > vr) ? vl : vr; |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
135 } |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
136 |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
137 /** |
|
2731
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
138 * audacious_remote_get_balance: |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
139 * @proxy: DBus proxy for audacious |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
140 * |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
141 * Queries audacious about the current balance. |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
142 * |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
143 * Return value: The current balance. |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
144 **/ |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
145 gint audacious_remote_get_balance(DBusGProxy *proxy) { |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
146 gint balance; |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
147 org_atheme_audacious_balance(proxy, &balance, &error); |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
148 g_clear_error(&error); |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
149 return balance; |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
150 } |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
151 |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
152 /** |
|
2711
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
153 * audacious_remote_set_volume: |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
154 * @proxy: DBus proxy for audacious |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
155 * @vl: The volume for the left channel. |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
156 * @vr: The volume for the right channel. |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
157 * |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
158 * Sets the volume for the left and right channels in Audacious. |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
159 **/ |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
160 void audacious_remote_set_volume(DBusGProxy *proxy, gint vl, gint vr) { |
|
2731
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
161 org_atheme_audacious_set_volume(proxy, vl, vr, &error); |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
162 g_clear_error(&error); |
|
2711
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
163 } |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
164 |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
165 |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
166 /** |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
167 * audacious_remote_set_main_volume: |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
168 * @proxy: DBus proxy for audacious |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
169 * @v: The volume to set. |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
170 * |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
171 * Sets the volume in Audacious. |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
172 **/ |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
173 void audacious_remote_set_main_volume(DBusGProxy *proxy, gint v) { |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
174 gint b, vl, vr; |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
175 |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
176 b = audacious_remote_get_balance(proxy); |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
177 |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
178 if (b < 0) { |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
179 vl = v; |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
180 vr = (v * (100 - abs(b))) / 100; |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
181 } else if (b > 0) { |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
182 vl = (v * (100 - b)) / 100; |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
183 vr = v; |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
184 } else |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
185 vl = vr = v; |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
186 audacious_remote_set_volume(proxy, vl, vr); |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
187 } |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
188 |
|
2731
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
189 void audacious_remote_set_balance(DBusGProxy *proxy, gint b) { |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
190 gint v, vl, vr; |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
191 |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
192 if (b < -100) |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
193 b = -100; |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
194 if (b > 100) |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
195 b = 100; |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
196 |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
197 v = audacious_remote_get_main_volume(proxy); |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
198 |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
199 if (b < 0) { |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
200 vl = v; |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
201 vr = (v * (100 - abs(b))) / 100; |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
202 } else if (b > 0) { |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
203 vl = (v * (100 - b)) / 100; |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
204 vr = v; |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
205 } else |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
206 vl = vr = v; |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
207 audacious_remote_set_volume(proxy, vl, vr); |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
208 } |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
209 |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
210 gchar *audacious_remote_get_skin(DBusGProxy *proxy) { |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
211 } |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
212 |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
213 void audacious_remote_set_skin(DBusGProxy *proxy, gchar *skinfile) { |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
214 } |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
215 |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
216 gchar *audacious_remote_get_playlist_file(DBusGProxy *proxy, gint pos) { |
|
2735
ccf3e141fb1e
[svn] - finish some stubs to make audtool work for my scripts
nenolod
parents:
2733
diff
changeset
|
217 gchar *out; |
|
ccf3e141fb1e
[svn] - finish some stubs to make audtool work for my scripts
nenolod
parents:
2733
diff
changeset
|
218 org_atheme_audacious_song_filename(proxy, pos, &out, &error); |
|
ccf3e141fb1e
[svn] - finish some stubs to make audtool work for my scripts
nenolod
parents:
2733
diff
changeset
|
219 g_clear_error(&error); |
|
ccf3e141fb1e
[svn] - finish some stubs to make audtool work for my scripts
nenolod
parents:
2733
diff
changeset
|
220 return out; |
|
2731
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
221 } |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
222 |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
223 gchar *audacious_remote_get_playlist_title(DBusGProxy *proxy, gint pos) { |
|
2735
ccf3e141fb1e
[svn] - finish some stubs to make audtool work for my scripts
nenolod
parents:
2733
diff
changeset
|
224 gchar *out; |
|
ccf3e141fb1e
[svn] - finish some stubs to make audtool work for my scripts
nenolod
parents:
2733
diff
changeset
|
225 org_atheme_audacious_song_title(proxy, pos, &out, &error); |
|
ccf3e141fb1e
[svn] - finish some stubs to make audtool work for my scripts
nenolod
parents:
2733
diff
changeset
|
226 g_clear_error(&error); |
|
ccf3e141fb1e
[svn] - finish some stubs to make audtool work for my scripts
nenolod
parents:
2733
diff
changeset
|
227 return out; |
|
2731
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
228 } |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
229 |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
230 gint audacious_remote_get_playlist_time(DBusGProxy *proxy, gint pos) { |
|
2735
ccf3e141fb1e
[svn] - finish some stubs to make audtool work for my scripts
nenolod
parents:
2733
diff
changeset
|
231 gint out; |
| 2738 | 232 org_atheme_audacious_song_frames(proxy, pos, &out, &error); |
|
2735
ccf3e141fb1e
[svn] - finish some stubs to make audtool work for my scripts
nenolod
parents:
2733
diff
changeset
|
233 g_clear_error(&error); |
|
ccf3e141fb1e
[svn] - finish some stubs to make audtool work for my scripts
nenolod
parents:
2733
diff
changeset
|
234 return out; |
|
2711
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
235 } |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
236 |
|
2731
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
237 void audacious_remote_get_info(DBusGProxy *proxy, gint *rate, gint *freq, |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
238 gint *nch) { |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
239 } |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
240 |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
241 void audacious_remote_main_win_toggle(DBusGProxy *proxy, gboolean show) { |
|
2733
cf080b11c3fa
[svn] Implemented more of the stubs in audctrl; Added more methods to objects.xml with implementations in dbus.c. I'm still trying to get plugins working with libaudclient.
magma
parents:
2731
diff
changeset
|
242 const char* path = dbus_g_proxy_get_path(proxy); |
|
cf080b11c3fa
[svn] Implemented more of the stubs in audctrl; Added more methods to objects.xml with implementations in dbus.c. I'm still trying to get plugins working with libaudclient.
magma
parents:
2731
diff
changeset
|
243 g_print("path: %s\n", path); |
|
cf080b11c3fa
[svn] Implemented more of the stubs in audctrl; Added more methods to objects.xml with implementations in dbus.c. I'm still trying to get plugins working with libaudclient.
magma
parents:
2731
diff
changeset
|
244 org_atheme_audacious_show_main_win(proxy, show, &error); |
|
cf080b11c3fa
[svn] Implemented more of the stubs in audctrl; Added more methods to objects.xml with implementations in dbus.c. I'm still trying to get plugins working with libaudclient.
magma
parents:
2731
diff
changeset
|
245 g_clear_error(&error); |
|
2731
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
246 } |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
247 |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
248 void audacious_remote_pl_win_toggle(DBusGProxy *proxy, gboolean show) { |
|
2733
cf080b11c3fa
[svn] Implemented more of the stubs in audctrl; Added more methods to objects.xml with implementations in dbus.c. I'm still trying to get plugins working with libaudclient.
magma
parents:
2731
diff
changeset
|
249 org_atheme_audacious_show_playlist(proxy, show, &error); |
|
cf080b11c3fa
[svn] Implemented more of the stubs in audctrl; Added more methods to objects.xml with implementations in dbus.c. I'm still trying to get plugins working with libaudclient.
magma
parents:
2731
diff
changeset
|
250 g_clear_error(&error); |
|
2731
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
251 } |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
252 |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
253 void audacious_remote_eq_win_toggle(DBusGProxy *proxy, gboolean show) { |
|
2733
cf080b11c3fa
[svn] Implemented more of the stubs in audctrl; Added more methods to objects.xml with implementations in dbus.c. I'm still trying to get plugins working with libaudclient.
magma
parents:
2731
diff
changeset
|
254 org_atheme_audacious_show_equalizer(proxy, show, &error); |
|
cf080b11c3fa
[svn] Implemented more of the stubs in audctrl; Added more methods to objects.xml with implementations in dbus.c. I'm still trying to get plugins working with libaudclient.
magma
parents:
2731
diff
changeset
|
255 g_clear_error(&error); |
|
2731
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
256 } |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
257 |
|
2733
cf080b11c3fa
[svn] Implemented more of the stubs in audctrl; Added more methods to objects.xml with implementations in dbus.c. I'm still trying to get plugins working with libaudclient.
magma
parents:
2731
diff
changeset
|
258 /** |
|
cf080b11c3fa
[svn] Implemented more of the stubs in audctrl; Added more methods to objects.xml with implementations in dbus.c. I'm still trying to get plugins working with libaudclient.
magma
parents:
2731
diff
changeset
|
259 * xmms_remote_is_main_win: |
|
cf080b11c3fa
[svn] Implemented more of the stubs in audctrl; Added more methods to objects.xml with implementations in dbus.c. I'm still trying to get plugins working with libaudclient.
magma
parents:
2731
diff
changeset
|
260 * @session: Legacy XMMS-style session identifier. |
|
cf080b11c3fa
[svn] Implemented more of the stubs in audctrl; Added more methods to objects.xml with implementations in dbus.c. I'm still trying to get plugins working with libaudclient.
magma
parents:
2731
diff
changeset
|
261 * |
|
cf080b11c3fa
[svn] Implemented more of the stubs in audctrl; Added more methods to objects.xml with implementations in dbus.c. I'm still trying to get plugins working with libaudclient.
magma
parents:
2731
diff
changeset
|
262 * Queries Audacious about the main window's visibility. |
|
cf080b11c3fa
[svn] Implemented more of the stubs in audctrl; Added more methods to objects.xml with implementations in dbus.c. I'm still trying to get plugins working with libaudclient.
magma
parents:
2731
diff
changeset
|
263 * |
|
cf080b11c3fa
[svn] Implemented more of the stubs in audctrl; Added more methods to objects.xml with implementations in dbus.c. I'm still trying to get plugins working with libaudclient.
magma
parents:
2731
diff
changeset
|
264 * Return value: TRUE if visible, FALSE otherwise. |
|
cf080b11c3fa
[svn] Implemented more of the stubs in audctrl; Added more methods to objects.xml with implementations in dbus.c. I'm still trying to get plugins working with libaudclient.
magma
parents:
2731
diff
changeset
|
265 **/ |
|
2731
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
266 gboolean audacious_remote_is_main_win(DBusGProxy *proxy) { |
|
2733
cf080b11c3fa
[svn] Implemented more of the stubs in audctrl; Added more methods to objects.xml with implementations in dbus.c. I'm still trying to get plugins working with libaudclient.
magma
parents:
2731
diff
changeset
|
267 gboolean visible; |
|
cf080b11c3fa
[svn] Implemented more of the stubs in audctrl; Added more methods to objects.xml with implementations in dbus.c. I'm still trying to get plugins working with libaudclient.
magma
parents:
2731
diff
changeset
|
268 org_atheme_audacious_main_win_visible(proxy, &visible, &error); |
|
cf080b11c3fa
[svn] Implemented more of the stubs in audctrl; Added more methods to objects.xml with implementations in dbus.c. I'm still trying to get plugins working with libaudclient.
magma
parents:
2731
diff
changeset
|
269 g_clear_error(&error); |
|
cf080b11c3fa
[svn] Implemented more of the stubs in audctrl; Added more methods to objects.xml with implementations in dbus.c. I'm still trying to get plugins working with libaudclient.
magma
parents:
2731
diff
changeset
|
270 return visible; |
|
2731
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
271 } |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
272 |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
273 gboolean audacious_remote_is_pl_win(DBusGProxy *proxy) { |
|
2733
cf080b11c3fa
[svn] Implemented more of the stubs in audctrl; Added more methods to objects.xml with implementations in dbus.c. I'm still trying to get plugins working with libaudclient.
magma
parents:
2731
diff
changeset
|
274 gboolean visible; |
|
cf080b11c3fa
[svn] Implemented more of the stubs in audctrl; Added more methods to objects.xml with implementations in dbus.c. I'm still trying to get plugins working with libaudclient.
magma
parents:
2731
diff
changeset
|
275 org_atheme_audacious_playlist_visible(proxy, &visible, &error); |
|
cf080b11c3fa
[svn] Implemented more of the stubs in audctrl; Added more methods to objects.xml with implementations in dbus.c. I'm still trying to get plugins working with libaudclient.
magma
parents:
2731
diff
changeset
|
276 g_clear_error(&error); |
|
cf080b11c3fa
[svn] Implemented more of the stubs in audctrl; Added more methods to objects.xml with implementations in dbus.c. I'm still trying to get plugins working with libaudclient.
magma
parents:
2731
diff
changeset
|
277 return visible; |
|
2731
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
278 } |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
279 |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
280 gboolean audacious_remote_is_eq_win(DBusGProxy *proxy) { |
|
2733
cf080b11c3fa
[svn] Implemented more of the stubs in audctrl; Added more methods to objects.xml with implementations in dbus.c. I'm still trying to get plugins working with libaudclient.
magma
parents:
2731
diff
changeset
|
281 gboolean visible; |
|
cf080b11c3fa
[svn] Implemented more of the stubs in audctrl; Added more methods to objects.xml with implementations in dbus.c. I'm still trying to get plugins working with libaudclient.
magma
parents:
2731
diff
changeset
|
282 org_atheme_audacious_equalizer_visible(proxy, &visible, &error); |
|
cf080b11c3fa
[svn] Implemented more of the stubs in audctrl; Added more methods to objects.xml with implementations in dbus.c. I'm still trying to get plugins working with libaudclient.
magma
parents:
2731
diff
changeset
|
283 g_clear_error(&error); |
|
cf080b11c3fa
[svn] Implemented more of the stubs in audctrl; Added more methods to objects.xml with implementations in dbus.c. I'm still trying to get plugins working with libaudclient.
magma
parents:
2731
diff
changeset
|
284 return visible; |
|
2731
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
285 } |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
286 |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
287 void audacious_remote_show_prefs_box(DBusGProxy *proxy) { |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
288 } |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
289 |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
290 void audacious_remote_toggle_aot(DBusGProxy *proxy, gboolean ontop) { |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
291 } |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
292 |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
293 void audacious_remote_eject(DBusGProxy *proxy) { |
|
2733
cf080b11c3fa
[svn] Implemented more of the stubs in audctrl; Added more methods to objects.xml with implementations in dbus.c. I'm still trying to get plugins working with libaudclient.
magma
parents:
2731
diff
changeset
|
294 org_atheme_audacious_eject(proxy, &error); |
|
cf080b11c3fa
[svn] Implemented more of the stubs in audctrl; Added more methods to objects.xml with implementations in dbus.c. I'm still trying to get plugins working with libaudclient.
magma
parents:
2731
diff
changeset
|
295 g_clear_error(&error); |
|
2731
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
296 } |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
297 |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
298 void audacious_remote_playlist_prev(DBusGProxy *proxy) { |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
299 } |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
300 |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
301 void audacious_remote_playlist_next(DBusGProxy *proxy) { |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
302 } |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
303 |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
304 |
|
2711
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
305 void audacious_remote_playlist_add_url_string(DBusGProxy *proxy, |
|
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
306 gchar *string) { |
|
2731
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
307 org_atheme_audacious_add_url(proxy, string, &error); |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
308 g_clear_error(&error); |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
309 } |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
310 |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
311 gboolean audacious_remote_is_running(DBusGProxy *proxy) { |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
312 } |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
313 |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
314 void audacious_remote_toggle_repeat(DBusGProxy *proxy) { |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
315 } |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
316 |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
317 void audacious_remote_toggle_shuffle(DBusGProxy *proxy) { |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
318 } |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
319 |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
320 gboolean audacious_remote_is_repeat(DBusGProxy *proxy) { |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
321 } |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
322 |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
323 gboolean audacious_remote_is_shuffle(DBusGProxy *proxy) { |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
324 } |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
325 |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
326 void audacious_remote_get_eq(DBusGProxy *proxy, gfloat *preamp, |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
327 gfloat **bands) { |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
328 } |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
329 |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
330 gfloat audacious_remote_get_eq_preamp(DBusGProxy *proxy) { |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
331 } |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
332 |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
333 gfloat audacious_remote_get_eq_band(DBusGProxy *proxy, gint band) { |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
334 } |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
335 |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
336 void audacious_remote_set_eq(DBusGProxy *proxy, gfloat preamp, |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
337 gfloat *bands) { |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
338 } |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
339 |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
340 void audacious_remote_set_eq_preamp(DBusGProxy *proxy, gfloat preamp) { |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
341 } |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
342 |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
343 void audacious_remote_set_eq_band(DBusGProxy *proxy, gint band, |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
344 gfloat value) { |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
345 } |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
346 |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
347 void audacious_remote_quit(DBusGProxy *proxy) { |
|
2733
cf080b11c3fa
[svn] Implemented more of the stubs in audctrl; Added more methods to objects.xml with implementations in dbus.c. I'm still trying to get plugins working with libaudclient.
magma
parents:
2731
diff
changeset
|
348 org_atheme_audacious_quit(proxy, &error); |
|
cf080b11c3fa
[svn] Implemented more of the stubs in audctrl; Added more methods to objects.xml with implementations in dbus.c. I'm still trying to get plugins working with libaudclient.
magma
parents:
2731
diff
changeset
|
349 g_clear_error(&error); |
|
2731
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
350 } |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
351 |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
352 void audacious_remote_play_pause(DBusGProxy *proxy) { |
|
2711
c35913222440
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
magma
parents:
diff
changeset
|
353 } |
|
2731
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
354 |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
355 void audacious_remote_playlist_ins_url_string(DBusGProxy *proxy, |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
356 gchar *string, gint pos) { |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
357 } |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
358 |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
359 void audacious_remote_playqueue_add(DBusGProxy *proxy, gint pos) { |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
360 } |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
361 |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
362 void audacious_remote_playqueue_remove(DBusGProxy *proxy, gint pos) { |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
363 } |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
364 |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
365 gint audacious_remote_get_playqueue_length(DBusGProxy *proxy) { |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
366 } |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
367 |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
368 void audacious_remote_toggle_advance(DBusGProxy *proxy) { |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
369 } |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
370 |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
371 gboolean audacious_remote_is_advance(DBusGProxy *proxy) { |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
372 } |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
373 |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
374 void audacious_remote_activate(DBusGProxy *proxy) { |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
375 } |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
376 |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
377 void audacious_remote_show_jtf_box(DBusGProxy *proxy) { |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
378 } |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
379 |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
380 void audacious_remote_playqueue_clear(DBusGProxy *proxy) { |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
381 } |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
382 |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
383 gboolean audacious_remote_playqueue_is_queued(DBusGProxy *proxy, gint pos) { |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
384 } |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
385 |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
386 gint audacious_remote_get_playqueue_position(DBusGProxy *proxy, gint pos) { |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
387 } |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
388 |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
389 gint audacious_remote_get_playqueue_queue_position(DBusGProxy *proxy, |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
390 gint pos) { |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
391 } |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
392 |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
393 void audacious_remote_playlist_enqueue_to_temp(DBusGProxy *proxy, |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
394 gchar *string) { |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
395 } |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
396 |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
397 gchar *audacious_get_tuple_field_data(DBusGProxy *proxy, gchar *field, |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
398 gint pos) { |
|
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2713
diff
changeset
|
399 } |
