Mercurial > audlegacy
annotate libaudacious/beepctrl.h @ 2133:d6c33d953f95 trunk
[svn] - while building the jump to file list, disassociate the GtkListStore
from the GtkTreeView widget which displays the JTF list.
author | nenolod |
---|---|
date | Fri, 15 Dec 2006 20:20:46 -0800 |
parents | 63af5b9c5026 |
children | f363009b7410 |
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 | |
2105
f18a5b617c34
[svn] - move to GPLv2-only. Based on my interpretation of the license, we are
nenolod
parents:
2060
diff
changeset
|
8 * the Free Software Foundation; under version 2 of the License. |
0 | 9 * |
10 * This program is distributed in the hope that it will be useful, | |
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
13 * GNU General Public License for more details. | |
14 * | |
15 * You should have received a copy of the GNU General Public License | |
16 * along with this program; if not, write to the Free Software | |
1459 | 17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
0 | 18 */ |
19 #ifndef XMMS_XMMSCTRL_H | |
20 #define XMMS_XMMSCTRL_H | |
21 | |
22 #include <glib.h> | |
23 | |
24 #ifdef __cplusplus | |
25 extern "C" { | |
26 #endif | |
27 | |
1436
c70b68bcf527
[svn] - add framework for later handling tcp:// connections
nenolod
parents:
984
diff
changeset
|
28 enum |
c70b68bcf527
[svn] - add framework for later handling tcp:// connections
nenolod
parents:
984
diff
changeset
|
29 { |
c70b68bcf527
[svn] - add framework for later handling tcp:// connections
nenolod
parents:
984
diff
changeset
|
30 AUDACIOUS_TYPE_UNIX, |
c70b68bcf527
[svn] - add framework for later handling tcp:// connections
nenolod
parents:
984
diff
changeset
|
31 AUDACIOUS_TYPE_TCP, |
c70b68bcf527
[svn] - add framework for later handling tcp:// connections
nenolod
parents:
984
diff
changeset
|
32 }; |
c70b68bcf527
[svn] - add framework for later handling tcp:// connections
nenolod
parents:
984
diff
changeset
|
33 |
0 | 34 /* Do NOT use this! This is only for control socket initialization now. */ |
35 gint xmms_connect_to_session(gint session); | |
36 | |
37 void xmms_remote_playlist(gint session, gchar ** list, gint num, | |
38 gboolean enqueue); | |
39 gint xmms_remote_get_version(gint session); | |
40 void xmms_remote_playlist_add(gint session, GList * list); | |
41 void xmms_remote_playlist_delete(gint session, gint pos); | |
42 void xmms_remote_play(gint session); | |
43 void xmms_remote_pause(gint session); | |
44 void xmms_remote_stop(gint session); | |
45 gboolean xmms_remote_is_playing(gint session); | |
46 gboolean xmms_remote_is_paused(gint session); | |
47 gint xmms_remote_get_playlist_pos(gint session); | |
48 void xmms_remote_set_playlist_pos(gint session, gint pos); | |
49 gint xmms_remote_get_playlist_length(gint session); | |
50 void xmms_remote_playlist_clear(gint session); | |
51 gint xmms_remote_get_output_time(gint session); | |
52 void xmms_remote_jump_to_time(gint session, gint pos); | |
53 void xmms_remote_get_volume(gint session, gint * vl, gint * vr); | |
54 gint xmms_remote_get_main_volume(gint session); | |
55 gint xmms_remote_get_balance(gint session); | |
56 void xmms_remote_set_volume(gint session, gint vl, gint vr); | |
57 void xmms_remote_set_main_volume(gint session, gint v); | |
58 void xmms_remote_set_balance(gint session, gint b); | |
59 gchar *xmms_remote_get_skin(gint session); | |
60 void xmms_remote_set_skin(gint session, gchar * skinfile); | |
61 gchar *xmms_remote_get_playlist_file(gint session, gint pos); | |
62 gchar *xmms_remote_get_playlist_title(gint session, gint pos); | |
63 gint xmms_remote_get_playlist_time(gint session, gint pos); | |
64 void xmms_remote_get_info(gint session, gint * rate, gint * freq, | |
65 gint * nch); | |
66 void xmms_remote_main_win_toggle(gint session, gboolean show); | |
67 void xmms_remote_pl_win_toggle(gint session, gboolean show); | |
68 void xmms_remote_eq_win_toggle(gint session, gboolean show); | |
69 gboolean xmms_remote_is_main_win(gint session); | |
70 gboolean xmms_remote_is_pl_win(gint session); | |
71 gboolean xmms_remote_is_eq_win(gint session); | |
72 void xmms_remote_show_prefs_box(gint session); | |
73 void xmms_remote_toggle_aot(gint session, gboolean ontop); | |
74 void xmms_remote_eject(gint session); | |
75 void xmms_remote_playlist_prev(gint session); | |
76 void xmms_remote_playlist_next(gint session); | |
77 void xmms_remote_playlist_add_url_string(gint session, gchar * string); | |
2127
63af5b9c5026
[svn] - add playlist_select_playlist() to select a literal playlist
nenolod
parents:
2105
diff
changeset
|
78 void xmms_remote_playlist_enqueue_to_temp(gint session, gchar * string); |
0 | 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); | |
2042
0985452d1962
[svn] - clean up some internal audacious controlsocket functions
nenolod
parents:
1459
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 | |
2060 | 129 /** |
130 * xmms_remote_add_files: | |
131 * @session: Legacy XMMS-style session identifier. | |
132 * @list: A GList of files to add. | |
133 * | |
134 * Tells audacious to add files to the playlist. | |
135 **/ | |
0 | 136 #define xmms_remote_add_files(session,list) \ |
137 xmms_remote_playlist_add(session,list) | |
138 | |
139 | |
140 #endif |