gmyth-stream/client/src/gmyth-stream-client.h
branchtrunk
changeset 627 73df1c7e30ec
parent 487 ab3aa66009de
     1.1 --- a/gmyth-stream/client/src/gmyth-stream-client.h	Tue Apr 03 19:42:17 2007 +0100
     1.2 +++ b/gmyth-stream/client/src/gmyth-stream-client.h	Thu May 03 16:07:54 2007 +0100
     1.3 @@ -9,11 +9,11 @@
     1.4  typedef struct _GMythStreamClientClass GMythStreamClientClass;
     1.5  
     1.6  struct _GMythStreamClientClass {
     1.7 -	GObjectClass parent_class;
     1.8 +    GObjectClass parent_class;
     1.9  };
    1.10  
    1.11  struct _GMythStreamClient {
    1.12 -	GObject parent;
    1.13 +    GObject parent;
    1.14  };
    1.15  
    1.16  /* TYPE MACROS */
    1.17 @@ -31,29 +31,29 @@
    1.18    (G_TYPE_INSTANCE_GET_CLASS ((obj), GMYTH_TYPE_STREAM_CLIENT, GMythStreamClientClass))
    1.19  
    1.20  
    1.21 -GType 		        gmyth_stream_client_get_type 	(void);
    1.22 -GMythStreamClient*  gmyth_stream_client_new         (void);
    1.23 -gboolean            gmyth_stream_client_connect     (GMythStreamClient *self,
    1.24 -                                                     const gchar *server, guint port);
    1.25 -void                gmyth_stream_client_disconnect  (GMythStreamClient *self);
    1.26 -guint			    gmyth_stream_client_open_stream (GMythStreamClient *self,
    1.27 -                                                     const gchar* file_name,
    1.28 -                                                     const gchar* mux,
    1.29 -                                                     const gchar* vcodec,
    1.30 -                                                     guint vbitrate,
    1.31 -                                                     gdouble fps,
    1.32 -                                                     const gchar* acodec,
    1.33 -                                                     guint abitrate,
    1.34 -                                    				 guint width, guint height,
    1.35 -                                    				 guint port,
    1.36 -                                    				 const gchar* opt);
    1.37 -gboolean		    gmyth_stream_client_play_stream (GMythStreamClient *self,
    1.38 -                        							 guint stream_id);
    1.39 -void			    gmyth_stream_client_pause_stream(GMythStreamClient *self,
    1.40 -                        							 guint stream_id);
    1.41 -void			    gmyth_stream_client_close_stream (GMythStreamClient *self,
    1.42 -							                         guint stream_id);
    1.43 -							                         
    1.44 +GType  gmyth_stream_client_get_type(void);
    1.45 +
    1.46 +GMythStreamClient*  gmyth_stream_client_new(void);
    1.47 +
    1.48 +gboolean gmyth_stream_client_connect (GMythStreamClient *self,
    1.49 +                                      const gchar *server, guint port);
    1.50 +
    1.51 +void gmyth_stream_client_disconnect  (GMythStreamClient *self);
    1.52 +gint gmyth_stream_client_open_stream (GMythStreamClient *self,
    1.53 +                                       const gchar* file_name,
    1.54 +                                       const gchar* mux,
    1.55 +                                       const gchar* vcodec,
    1.56 +                                       guint vbitrate,
    1.57 +                                       gdouble fps,
    1.58 +                                       const gchar* acodec,
    1.59 +                                       guint abitrate,
    1.60 +                                       guint width, guint height,
    1.61 +                                       const gchar* opt);
    1.62 +
    1.63 +gint gmyth_stream_client_play_stream (GMythStreamClient *self);
    1.64 +
    1.65 +void gmyth_stream_client_close_stream (GMythStreamClient *self);
    1.66 +
    1.67  
    1.68  G_END_DECLS
    1.69