[svn r443] added backend_info to constructor trunk
authorleo_sobral
Fri Mar 23 13:47:44 2007 +0000 (2007-03-23)
branchtrunk
changeset 4382ca84b85d2dd
parent 437 84d70ba2ac65
child 439 ee220ab67ffd
[svn r443] added backend_info to constructor
gmyth/src/gmyth_livetv.h
     1.1 --- a/gmyth/src/gmyth_livetv.h	Fri Mar 23 13:47:31 2007 +0000
     1.2 +++ b/gmyth/src/gmyth_livetv.h	Fri Mar 23 13:47:44 2007 +0000
     1.3 @@ -52,53 +52,53 @@
     1.4  
     1.5  struct _GMythLiveTVClass
     1.6  {
     1.7 -  GObjectClass parent_class;
     1.8 +    GObjectClass parent_class;
     1.9  
    1.10 -  /* callbacks */
    1.11 +    /* callbacks */
    1.12  };
    1.13  
    1.14  struct _GMythLiveTV
    1.15  {
    1.16 -	GObject 						parent;
    1.17 +	GObject					parent;
    1.18  	
    1.19 -	GMythSocket					*socket;
    1.20 +	GMythSocket				*socket;
    1.21  	
    1.22 -	GString 				 		*local_hostname;
    1.23 +    GString				 	*local_hostname;
    1.24  	
    1.25 -	GMythBackendInfo 		*backend_info;
    1.26 +	GMythBackendInfo        *backend_info;
    1.27  
    1.28  	GMythRecorder 	 		*recorder;
    1.29 -	GMythTVChain 				*tvchain;
    1.30 +	GMythTVChain 			*tvchain;
    1.31  	GMythProgramInfo 		*proginfo;
    1.32  	
    1.33 -	GMythFileTransfer 	*file_transfer;
    1.34 +	GMythFileTransfer 	    *file_transfer;
    1.35  	
    1.36 -	GMythMonitorHandler *monitor;
    1.37 -	GMythURI						*uri;
    1.38 +	GMythMonitorHandler     *monitor;
    1.39 +	GMythURI				*uri;
    1.40  
    1.41 -	gboolean 						is_livetv;
    1.42 -	gboolean 						setup_done;
    1.43 +	gboolean 				is_livetv;
    1.44 +	gboolean 				setup_done;
    1.45  	
    1.46 -	GMutex 							*mutex;	
    1.47 -
    1.48 +	GMutex 					*mutex;	
    1.49 +    gboolean                disposed;
    1.50  };
    1.51  
    1.52 -GType          gmyth_livetv_get_type (void);
    1.53 +GType           gmyth_livetv_get_type (void);
    1.54  
    1.55 -GMythLiveTV* 	 gmyth_livetv_new ();
    1.56 +GMythLiveTV*    gmyth_livetv_new (GMythBackendInfo *backend_info);
    1.57  
    1.58 -void gmyth_livetv_start_playing (GMythLiveTV *livetv);
    1.59 -void gmyth_livetv_stop_playing (GMythLiveTV *livetv);
    1.60 +void            gmyth_livetv_start_playing (GMythLiveTV *livetv);
    1.61 +void            gmyth_livetv_stop_playing (GMythLiveTV *livetv);
    1.62  
    1.63 -gboolean gmyth_livetv_setup (GMythLiveTV *livetv, GMythBackendInfo *backend_info);
    1.64 -gboolean gmyth_livetv_channel_setup ( GMythLiveTV *livetv, gint channel, GMythBackendInfo *backend_info );
    1.65 -gboolean gmyth_livetv_channel_name_setup ( GMythLiveTV *livetv, gchar* channel, GMythBackendInfo *backend_info );
    1.66 -gboolean gmyth_livetv_next_program_chain ( GMythLiveTV *livetv );
    1.67 +gboolean        gmyth_livetv_setup (GMythLiveTV *livetv);
    1.68 +gboolean        gmyth_livetv_channel_setup ( GMythLiveTV *livetv, gint channel);
    1.69 +gboolean        gmyth_livetv_channel_name_setup ( GMythLiveTV *livetv, gchar* channel);
    1.70 +gboolean        gmyth_livetv_next_program_chain ( GMythLiveTV *livetv );
    1.71  
    1.72 -GMythFileTransfer *gmyth_livetv_create_file_transfer( GMythLiveTV *livetv );
    1.73 +GMythFileTransfer*  gmyth_livetv_create_file_transfer( GMythLiveTV *livetv );
    1.74  
    1.75 -gboolean gmyth_livetv_monitor_handler_start( GMythLiveTV *livetv );
    1.76 -void gmyth_livetv_monitor_handler_stop( GMythLiveTV *livetv );
    1.77 +gboolean        gmyth_livetv_monitor_handler_start( GMythLiveTV *livetv );
    1.78 +void            gmyth_livetv_monitor_handler_stop( GMythLiveTV *livetv );
    1.79  
    1.80  G_END_DECLS
    1.81