diff -r ab3aa66009de -r 97a33046e7c6 gmyth-stream/client/src/gmyth-stream-client.h --- a/gmyth-stream/client/src/gmyth-stream-client.h Tue Apr 03 19:42:17 2007 +0100 +++ b/gmyth-stream/client/src/gmyth-stream-client.h Wed May 16 16:09:28 2007 +0100 @@ -9,11 +9,11 @@ typedef struct _GMythStreamClientClass GMythStreamClientClass; struct _GMythStreamClientClass { - GObjectClass parent_class; + GObjectClass parent_class; }; struct _GMythStreamClient { - GObject parent; + GObject parent; }; /* TYPE MACROS */ @@ -31,29 +31,29 @@ (G_TYPE_INSTANCE_GET_CLASS ((obj), GMYTH_TYPE_STREAM_CLIENT, GMythStreamClientClass)) -GType gmyth_stream_client_get_type (void); -GMythStreamClient* gmyth_stream_client_new (void); -gboolean gmyth_stream_client_connect (GMythStreamClient *self, - const gchar *server, guint port); -void gmyth_stream_client_disconnect (GMythStreamClient *self); -guint gmyth_stream_client_open_stream (GMythStreamClient *self, - const gchar* file_name, - const gchar* mux, - const gchar* vcodec, - guint vbitrate, - gdouble fps, - const gchar* acodec, - guint abitrate, - guint width, guint height, - guint port, - const gchar* opt); -gboolean gmyth_stream_client_play_stream (GMythStreamClient *self, - guint stream_id); -void gmyth_stream_client_pause_stream(GMythStreamClient *self, - guint stream_id); -void gmyth_stream_client_close_stream (GMythStreamClient *self, - guint stream_id); - +GType gmyth_stream_client_get_type(void); + +GMythStreamClient* gmyth_stream_client_new(void); + +gboolean gmyth_stream_client_connect (GMythStreamClient *self, + const gchar *server, guint port); + +void gmyth_stream_client_disconnect (GMythStreamClient *self); +gint gmyth_stream_client_open_stream (GMythStreamClient *self, + const gchar* file_name, + const gchar* mux, + const gchar* vcodec, + guint vbitrate, + gdouble fps, + const gchar* acodec, + guint abitrate, + guint width, guint height, + const gchar* opt); + +gint gmyth_stream_client_play_stream (GMythStreamClient *self); + +void gmyth_stream_client_close_stream (GMythStreamClient *self); + G_END_DECLS