Mercurial > audlegacy
annotate libaudacious/beepctrl.h @ 1692:2dd4cf103e1c trunk
[svn] Forgot to change .cpp -> .cxx in the Makefile.in. Shame on me...
author | js |
---|---|
date | Thu, 14 Sep 2006 13:38:05 -0700 |
parents | 705d4c089fce |
children | 0985452d1962 |
rev | line source |
---|---|
0 | 1 /* XMMS - Cross-platform multimedia player |
2 * Copyright (C) 1998-2003 Peter Alm, Mikael Alm, Olle Hallnas, | |
3 * Thomas Nilsson and 4Front Technologies | |
4 * Copyright (C) 1999-2003 Haavard Kvaalen | |
5 * | |
6 * This program is free software; you can redistribute it and/or modify | |
7 * it under the terms of the GNU General Public License as published by | |
8 * the Free Software Foundation; either version 2 of the License, or | |
9 * (at your option) any later version. | |
10 * | |
11 * This program is distributed in the hope that it will be useful, | |
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
14 * GNU General Public License for more details. | |
15 * | |
16 * You should have received a copy of the GNU General Public License | |
17 * along with this program; if not, write to the Free Software | |
1459 | 18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
0 | 19 */ |
20 #ifndef XMMS_XMMSCTRL_H | |
21 #define XMMS_XMMSCTRL_H | |
22 | |
23 #include <glib.h> | |
24 | |
25 #ifdef __cplusplus | |
26 extern "C" { | |
27 #endif | |
28 | |
1436
c70b68bcf527
[svn] - add framework for later handling tcp:// connections
nenolod
parents:
984
diff
changeset
|
29 enum |
c70b68bcf527
[svn] - add framework for later handling tcp:// connections
nenolod
parents:
984
diff
changeset
|
30 { |
c70b68bcf527
[svn] - add framework for later handling tcp:// connections
nenolod
parents:
984
diff
changeset
|
31 AUDACIOUS_TYPE_UNIX, |
c70b68bcf527
[svn] - add framework for later handling tcp:// connections
nenolod
parents:
984
diff
changeset
|
32 AUDACIOUS_TYPE_TCP, |
c70b68bcf527
[svn] - add framework for later handling tcp:// connections
nenolod
parents:
984
diff
changeset
|
33 }; |
c70b68bcf527
[svn] - add framework for later handling tcp:// connections
nenolod
parents:
984
diff
changeset
|
34 |
0 | 35 /* Do NOT use this! This is only for control socket initialization now. */ |
36 gint xmms_connect_to_session(gint session); | |
37 | |
38 void xmms_remote_playlist(gint session, gchar ** list, gint num, | |
39 gboolean enqueue); | |
40 gint xmms_remote_get_version(gint session); | |
41 void xmms_remote_playlist_add(gint session, GList * list); | |
42 void xmms_remote_playlist_delete(gint session, gint pos); | |
43 void xmms_remote_play(gint session); | |
44 void xmms_remote_pause(gint session); | |
45 void xmms_remote_stop(gint session); | |
46 gboolean xmms_remote_is_playing(gint session); | |
47 gboolean xmms_remote_is_paused(gint session); | |
48 gint xmms_remote_get_playlist_pos(gint session); | |
49 void xmms_remote_set_playlist_pos(gint session, gint pos); | |
50 gint xmms_remote_get_playlist_length(gint session); | |
51 void xmms_remote_playlist_clear(gint session); | |
52 gint xmms_remote_get_output_time(gint session); | |
53 void xmms_remote_jump_to_time(gint session, gint pos); | |
54 void xmms_remote_get_volume(gint session, gint * vl, gint * vr); | |
55 gint xmms_remote_get_main_volume(gint session); | |
56 gint xmms_remote_get_balance(gint session); | |
57 void xmms_remote_set_volume(gint session, gint vl, gint vr); | |
58 void xmms_remote_set_main_volume(gint session, gint v); | |
59 void xmms_remote_set_balance(gint session, gint b); | |
60 gchar *xmms_remote_get_skin(gint session); | |
61 void xmms_remote_set_skin(gint session, gchar * skinfile); | |
62 gchar *xmms_remote_get_playlist_file(gint session, gint pos); | |
63 gchar *xmms_remote_get_playlist_title(gint session, gint pos); | |
64 gint xmms_remote_get_playlist_time(gint session, gint pos); | |
65 void xmms_remote_get_info(gint session, gint * rate, gint * freq, | |
66 gint * nch); | |
67 void xmms_remote_main_win_toggle(gint session, gboolean show); | |
68 void xmms_remote_pl_win_toggle(gint session, gboolean show); | |
69 void xmms_remote_eq_win_toggle(gint session, gboolean show); | |
70 gboolean xmms_remote_is_main_win(gint session); | |
71 gboolean xmms_remote_is_pl_win(gint session); | |
72 gboolean xmms_remote_is_eq_win(gint session); | |
73 void xmms_remote_show_prefs_box(gint session); | |
74 void xmms_remote_toggle_aot(gint session, gboolean ontop); | |
75 void xmms_remote_eject(gint session); | |
76 void xmms_remote_playlist_prev(gint session); | |
77 void xmms_remote_playlist_next(gint session); | |
78 void xmms_remote_playlist_add_url_string(gint session, gchar * string); | |
79 gboolean xmms_remote_is_running(gint session); | |
80 void xmms_remote_toggle_repeat(gint session); | |
81 void xmms_remote_toggle_shuffle(gint session); | |
82 gboolean xmms_remote_is_repeat(gint session); | |
83 gboolean xmms_remote_is_shuffle(gint session); | |
84 void xmms_remote_get_eq(gint session, gfloat * preamp, | |
85 gfloat ** bands); | |
86 gfloat xmms_remote_get_eq_preamp(gint session); | |
87 gfloat xmms_remote_get_eq_band(gint session, gint band); | |
88 void xmms_remote_set_eq(gint session, gfloat preamp, gfloat * bands); | |
89 void xmms_remote_set_eq_preamp(gint session, gfloat preamp); | |
90 void xmms_remote_set_eq_band(gint session, gint band, gfloat value); | |
91 | |
92 /* Added in XMMS 1.2.1 */ | |
93 void xmms_remote_quit(gint session); | |
94 | |
95 /* Added in XMMS 1.2.6 */ | |
96 void xmms_remote_play_pause(gint session); | |
97 void xmms_remote_playlist_ins_url_string(gint session, gchar * string, | |
98 gint pos); | |
99 | |
100 /* Added in XMMS 1.2.11 */ | |
101 void xmms_remote_playqueue_add(gint session, gint pos); | |
102 void xmms_remote_playqueue_remove(gint session, gint pos); | |
103 gint xmms_remote_get_playqueue_length(gint session); | |
104 void xmms_remote_toggle_advance(gint session); | |
105 gboolean xmms_remote_is_advance(gint session); | |
106 | |
107 /* Added in BMP 0.9.7 */ | |
108 void xmms_remote_activate(gint session); | |
109 | |
984 | 110 /* Added in Audacious 1.1 */ |
111 void xmms_remote_show_jtf_box(gint session); | |
112 void xmms_remote_playqueue_clear(gint session); | |
113 gboolean xmms_remote_playqueue_is_queued(gint session, gint pos); | |
114 gint xmms_remote_get_playqueue_position(gint session, gint pos); | |
115 gint xmms_remote_get_playqueue_queue_position(gint session, gint pos); | |
0 | 116 |
1437 | 117 /* Added in Audacious 1.2 */ |
118 void audacious_set_session_uri(gchar *uri); | |
119 gchar *audacious_get_session_uri(gint session); | |
1456
6fe7ba6e5489
[svn] - Don't poll the config database if not using TCP sockets.
nhjm449
parents:
1437
diff
changeset
|
120 void audacious_set_session_type(gint *type); |
1437 | 121 |
0 | 122 #ifdef __cplusplus |
123 }; | |
124 #endif | |
125 | |
126 /* Deprecated APIs */ | |
127 void xmms_remote_play_files(gint session, GList * list); | |
128 | |
129 #define xmms_remote_add_files(session,list) \ | |
130 xmms_remote_playlist_add(session,list) | |
131 | |
132 | |
133 #endif |