1.1 --- a/gmyth/src/gmyth_livetv.h Fri Dec 08 23:16:15 2006 +0000
1.2 +++ b/gmyth/src/gmyth_livetv.h Tue Dec 12 18:19:35 2006 +0000
1.3 @@ -31,7 +31,12 @@
1.4 #include <glib.h>
1.5 #include <glib-object.h>
1.6
1.7 -#include "gmyth.h"
1.8 +#include "gmyth_recorder.h"
1.9 +#include "gmyth_tvchain.h"
1.10 +#include "gmyth_monitor_handler.h"
1.11 +#include "gmyth_file_transfer.h"
1.12 +#include "gmyth_programinfo.h"
1.13 +#include "gmyth_backendinfo.h"
1.14
1.15 G_BEGIN_DECLS
1.16
1.17 @@ -54,36 +59,39 @@
1.18
1.19 struct _GMythLiveTV
1.20 {
1.21 - GObject parent;
1.22 + GObject parent;
1.23 +
1.24 + GString *local_hostname;
1.25 +
1.26 + GMythBackendInfo *backend_info;
1.27
1.28 - // Backend connection related variables
1.29 - GString *backend_hostname;
1.30 - gint backend_port;
1.31 - GString *local_hostname;
1.32 -
1.33 - GMythRecorder *recorder;
1.34 - GMythTVChain *tvchain;
1.35 - GMythProgramInfo *proginfo;
1.36 + GMythRecorder *recorder;
1.37 + GMythTVChain *tvchain;
1.38 + GMythProgramInfo *proginfo;
1.39 +
1.40 + GMythFileTransfer *file_transfer;
1.41
1.42 GMythMonitorHandler *monitor;
1.43
1.44 - gboolean is_livetv;
1.45 + gboolean is_livetv;
1.46 + gboolean setup_done;
1.47
1.48 };
1.49
1.50 GType gmyth_livetv_get_type (void);
1.51
1.52 -GMythLiveTV* gmyth_livetv_new ();
1.53 +GMythLiveTV* gmyth_livetv_new ();
1.54
1.55 void gmyth_livetv_start_playing (GMythLiveTV *livetv);
1.56 void gmyth_livetv_stop_playing (GMythLiveTV *livetv);
1.57
1.58 -gboolean gmyth_livetv_is_recording ( GMythLiveTV *livetv );
1.59 -
1.60 +gboolean gmyth_livetv_is_recording ( GMythLiveTV *livetv );
1.61
1.62 gboolean gmyth_livetv_setup (GMythLiveTV *livetv, GMythBackendInfo *backend_info);
1.63 gboolean gmyth_livetv_next_program_chain ( GMythLiveTV *livetv );
1.64
1.65 +GMythFileTransfer *gmyth_livetv_create_file_transfer( GMythLiveTV *livetv );
1.66 +
1.67 G_END_DECLS
1.68
1.69 #endif /*GMYTH_LIVETV_H_*/