[svn r243] Added features to dinamically recognize others MythTV servers using UPnP.
1 #ifndef MMYTH_RECORD_H_
2 #define MMYTH_RECORD_H_
4 #include "gmyth_scheduler.h"
6 typedef struct _MMythRecordUI
8 GtkWidget *scrolled_window;
12 GtkWidget *rec_scrolled_window;
13 GtkWidget *sch_scrolled_window;
14 GtkWidget *rec_treeview;
15 GtkWidget *sch_treeview;
19 GtkTreeViewColumn *rec_column1;
20 GtkTreeViewColumn *rec_column2;
21 GtkTreeViewColumn *rec_column3;
22 GtkTreeViewColumn *rec_column4;
23 GtkTreeViewColumn *sch_column1;
24 GtkTreeViewColumn *sch_column2;
25 GtkTreeViewColumn *sch_column3;
26 GtkTreeViewColumn *sch_column4;
28 GtkCellRenderer *rec_renderer;
29 GtkCellRenderer *sch_renderer;
31 GtkTreeStore *sch_tree_store;
32 GtkTreeStore *rec_tree_store;
34 GMythScheduler *scheduler;
38 MMythRecordUI* mmyth_recordui_new(void);
39 void mmyth_recordui_free (MMythRecordUI *recordui);
41 void mmyth_recordui_delete_selected (GtkButton *button, MMythRecordUI *recordui);
42 gboolean mmyth_recordui_reload_all (MMythRecordUI *recordui);
43 gboolean mmyth_recordui_reload_schedule (MMythRecordUI *recordui);
44 gboolean mmyth_recordui_reload_record (MMythRecordUI *recordui);
46 gchar* mmyth_recordui_get_selected_recorded (MMythRecordUI *recordui);
48 #endif /*MMYTH_RECORD_H_*/