# HG changeset patch
# User leo_sobral
# Date 1174657664 0
# Node ID 2ca84b85d2dd2dc86a6ddc85c1d0b98121b9521a
# Parent  84d70ba2ac65f594594942506fc1264ad4de2434
[svn r443] added backend_info to constructor

diff -r 84d70ba2ac65 -r 2ca84b85d2dd gmyth/src/gmyth_livetv.h
--- a/gmyth/src/gmyth_livetv.h	Fri Mar 23 13:47:31 2007 +0000
+++ b/gmyth/src/gmyth_livetv.h	Fri Mar 23 13:47:44 2007 +0000
@@ -52,53 +52,53 @@
 
 struct _GMythLiveTVClass
 {
-  GObjectClass parent_class;
+    GObjectClass parent_class;
 
-  /* callbacks */
+    /* callbacks */
 };
 
 struct _GMythLiveTV
 {
-	GObject 						parent;
+	GObject					parent;
 	
-	GMythSocket					*socket;
+	GMythSocket				*socket;
 	
-	GString 				 		*local_hostname;
+    GString				 	*local_hostname;
 	
-	GMythBackendInfo 		*backend_info;
+	GMythBackendInfo        *backend_info;
 
 	GMythRecorder 	 		*recorder;
-	GMythTVChain 				*tvchain;
+	GMythTVChain 			*tvchain;
 	GMythProgramInfo 		*proginfo;
 	
-	GMythFileTransfer 	*file_transfer;
+	GMythFileTransfer 	    *file_transfer;
 	
-	GMythMonitorHandler *monitor;
-	GMythURI						*uri;
+	GMythMonitorHandler     *monitor;
+	GMythURI				*uri;
 
-	gboolean 						is_livetv;
-	gboolean 						setup_done;
+	gboolean 				is_livetv;
+	gboolean 				setup_done;
 	
-	GMutex 							*mutex;	
-
+	GMutex 					*mutex;	
+    gboolean                disposed;
 };
 
-GType          gmyth_livetv_get_type (void);
+GType           gmyth_livetv_get_type (void);
 
-GMythLiveTV* 	 gmyth_livetv_new ();
+GMythLiveTV*    gmyth_livetv_new (GMythBackendInfo *backend_info);
 
-void gmyth_livetv_start_playing (GMythLiveTV *livetv);
-void gmyth_livetv_stop_playing (GMythLiveTV *livetv);
+void            gmyth_livetv_start_playing (GMythLiveTV *livetv);
+void            gmyth_livetv_stop_playing (GMythLiveTV *livetv);
 
-gboolean gmyth_livetv_setup (GMythLiveTV *livetv, GMythBackendInfo *backend_info);
-gboolean gmyth_livetv_channel_setup ( GMythLiveTV *livetv, gint channel, GMythBackendInfo *backend_info );
-gboolean gmyth_livetv_channel_name_setup ( GMythLiveTV *livetv, gchar* channel, GMythBackendInfo *backend_info );
-gboolean gmyth_livetv_next_program_chain ( GMythLiveTV *livetv );
+gboolean        gmyth_livetv_setup (GMythLiveTV *livetv);
+gboolean        gmyth_livetv_channel_setup ( GMythLiveTV *livetv, gint channel);
+gboolean        gmyth_livetv_channel_name_setup ( GMythLiveTV *livetv, gchar* channel);
+gboolean        gmyth_livetv_next_program_chain ( GMythLiveTV *livetv );
 
-GMythFileTransfer *gmyth_livetv_create_file_transfer( GMythLiveTV *livetv );
+GMythFileTransfer*  gmyth_livetv_create_file_transfer( GMythLiveTV *livetv );
 
-gboolean gmyth_livetv_monitor_handler_start( GMythLiveTV *livetv );
-void gmyth_livetv_monitor_handler_stop( GMythLiveTV *livetv );
+gboolean        gmyth_livetv_monitor_handler_start( GMythLiveTV *livetv );
+void            gmyth_livetv_monitor_handler_stop( GMythLiveTV *livetv );
 
 G_END_DECLS