diff -r bd3829c2e9c9 -r 265cdb1c59e3 mythtv_plugin/myth_livetv.h --- a/mythtv_plugin/myth_livetv.h Wed Sep 20 23:59:48 2006 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,59 +0,0 @@ -#ifndef MYTH_LIVETV_H_ -#define MYTH_LIVETV_H_ - -#include - -#include -#include -#include - -#include "myth_file_transfer.h" - -#define G_BEGIN_DECLS - -#define MYTH_LIVETV_TYPE (myth_livetv_get_type ()) -#define MYTH_LIVETV(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MYTH_LIVETV_TYPE, MythLiveTV)) -#define MYTH_LIVETV_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), MYTH_LIVETV_TYPE, MythLiveTVClass)) -#define IS_MYTH_LIVETV(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MYTH_LIVETV_TYPE)) -#define IS_MYTH_LIVETV_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), MYTH_LIVETV_TYPE)) -#define MYTH_LIVETV_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), MYTH_LIVETV_TYPE, MythLiveTVClass)) - -typedef struct _MythLiveTV MythLiveTV; -typedef struct _MythLiveTVClass MythLiveTVClass; - -struct _MythLiveTVClass -{ - GObjectClass parent_class; - - /* callbacks */ -}; - -struct _MythLiveTV -{ - GObject parent; - - // Backend connection related variables - GString *backend_hostname; - gint backend_port; - GString *local_hostname; - - GMythRemoteEncoder *remote_encoder; - GMythTVChain *tvchain; - GMythProgramInfo *proginfo; - - gboolean is_livetv; - -}; - -GType myth_livetv_get_type (void); - -MythLiveTV* myth_livetv_new (); - -void myth_livetv_start_playing (MythLiveTV *livetv); -void myth_livetv_stop_playing (MythLiveTV *livetv); - -gboolean myth_livetv_setup (MythLiveTV *livetv); - -#define G_END_DECLS - -#endif /*MYTH_LIVETV_H_*/