[svn r646] Added test and verifies for the installed tools.
1 #ifndef __GMYTH_STREAM_CLIENT_H__
2 #define __GMYTH_STREAM_CLIENT_H__
4 #include <glib-object.h>
8 typedef struct _GMythStreamClient GMythStreamClient;
9 typedef struct _GMythStreamClientClass GMythStreamClientClass;
11 struct _GMythStreamClientClass {
12 GObjectClass parent_class;
15 struct _GMythStreamClient {
20 #define GMYTH_TYPE_STREAM_CLIENT \
21 (gmyth_stream_client_get_type())
22 #define GMYTH_STREAM_CLIENT(obj) \
23 (G_TYPE_CHECK_INSTANCE_CAST((obj), GMYTH_TYPE_STREAM_CLIENT, GMythStreamClient))
24 #define GMYTH_STREAM_CLIENT_CLASS(klass) \
25 (G_TYPE_CHECK_CLASS_CAST((klass), GMYTH_TYPE_STREAM_CLIENT, GMythStreamClientClass))
26 #define GMYTH_IS_STREAM_CLIENT(obj) \
27 (G_TYPE_CHECK_INSTANCE_TYPE((obj), GMYTH_TYPE_STREAM_CLIENT))
28 #define GMYTH_IS_STREAM_CLIENT_CLASS(klass) \
29 (G_TYPE_CHECK_CLASS_TYPE((klass), GMYTH_TYPE_STREAM_CLIENT))
30 #define GMYTH_STREAM_CLIENT_GET_CLASS(obj) \
31 (G_TYPE_INSTANCE_GET_CLASS ((obj), GMYTH_TYPE_STREAM_CLIENT, GMythStreamClientClass))
34 GType gmyth_stream_client_get_type(void);
36 GMythStreamClient* gmyth_stream_client_new(void);
38 gboolean gmyth_stream_client_connect (GMythStreamClient *self,
39 const gchar *server, guint port);
41 void gmyth_stream_client_disconnect (GMythStreamClient *self);
42 gint gmyth_stream_client_open_stream (GMythStreamClient *self,
43 const gchar* file_name,
50 guint width, guint height,
53 gint gmyth_stream_client_play_stream (GMythStreamClient *self);
55 void gmyth_stream_client_close_stream (GMythStreamClient *self);