1 #ifndef MMYTH_RECORD_H_
2 #define MMYTH_RECORD_H_
4 #include <gmyth/gmyth_scheduler.h>
5 #include <gmyth/gmyth_backendinfo.h>
7 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;
36 GMythBackendInfo *backend_info;
40 MMythRecordUI *mmyth_recordui_new(GMythBackendInfo * backend_info);
41 void mmyth_recordui_free(MMythRecordUI * recordui);
43 void mmyth_recordui_delete_selected(GtkButton * button,
44 MMythRecordUI * recordui);
45 gboolean mmyth_recordui_reload_all(MMythRecordUI * recordui);
46 gboolean mmyth_recordui_reload_schedule(MMythRecordUI * recordui);
47 gboolean mmyth_recordui_reload_record(MMythRecordUI * recordui);
49 gchar *mmyth_recordui_get_selected_recorded(MMythRecordUI *
52 #endif /* MMYTH_RECORD_H_ */