Debian Codegraph @

src/av-cp/renderer-controls.h

raw
1 /*
2 * Copyright (C) 2007 Zeeshan Ali (Khattak) <[email protected]>
3 *
4 * Authors: Zeeshan Ali (Khattak) <[email protected]>
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 along
17 * with this program; if not, write to the Free Software Foundation,
18 * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
19 */
20
21 #ifndef __RENDERER_CONTROL_H__
22 #define __RENDERER_CONTROL_H__
23
24 #include <libgupnp/gupnp.h>
25 #include <libgupnp-av/gupnp-av.h>
26 #ifdef HAVE_CONFIG_H
27 #include <config.h>
28 #endif
29 #include <gtk/gtk.h>
30
31 #include "renderer-combo.h"
32
33 void
34 set_av_transport_uri (const char *metadata,
35 GCallback callback);
36
37 void
38 set_volume_scale (guint volume);
39
40 void
41 set_position_scale_duration (const char *duration_str);
42
43 void
44 set_position_scale_position (const char *position_str);
45
46 void
47 prepare_controls_for_state (PlaybackState state);
48
49 void
50 av_transport_send_action (const char *action,
51 char *additional_args[]);
52
53 void
54 setup_renderer_controls (GtkBuilder *builder);
55
56 #endif /* __RENDERER_CONTROL_H__ */