[svn r454] Removes the g_main_context_acquire_context.
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
9 GtkWidget *scrolled_window;
13 GtkWidget *rec_scrolled_window;
14 GtkWidget *sch_scrolled_window;
15 GtkWidget *rec_treeview;
16 GtkWidget *sch_treeview;
20 GtkTreeViewColumn *rec_column1;
21 GtkTreeViewColumn *rec_column2;
22 GtkTreeViewColumn *rec_column3;
23 GtkTreeViewColumn *rec_column4;
24 GtkTreeViewColumn *sch_column1;
25 GtkTreeViewColumn *sch_column2;
26 GtkTreeViewColumn *sch_column3;
27 GtkTreeViewColumn *sch_column4;
29 GtkCellRenderer *rec_renderer;
30 GtkCellRenderer *sch_renderer;
32 GtkTreeStore *sch_tree_store;
33 GtkTreeStore *rec_tree_store;
35 GMythScheduler *scheduler;
37 GMythBackendInfo* backend_info;
41 MMythRecordUI* mmyth_recordui_new( GMythBackendInfo* backend_info );
42 void mmyth_recordui_free (MMythRecordUI *recordui);
44 void mmyth_recordui_delete_selected (GtkButton *button, 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 *recordui);
51 #endif /*MMYTH_RECORD_H_*/