renatofilho@20: #ifndef MMYTH_RECORD_H_
renatofilho@20: #define MMYTH_RECORD_H_
renatofilho@20: 
rosfran@244: #include <gmyth/gmyth_scheduler.h>
rosfran@244: #include <gmyth/gmyth_backendinfo.h>
renatofilho@20: 
renatofilho@20: typedef struct _MMythRecordUI
renatofilho@20: {
renatofilho@20: 	GtkWidget *scrolled_window;
renatofilho@20: 	GtkWidget *viewport;
renatofilho@20: 	GtkWidget *notebook;
renatofilho@20: 	
renatofilho@20: 	GtkWidget *rec_scrolled_window;
renatofilho@20: 	GtkWidget *sch_scrolled_window;
renatofilho@20: 	GtkWidget *rec_treeview;
renatofilho@20: 	GtkWidget *sch_treeview;
renatofilho@20: 	GtkWidget *rec_label;
renatofilho@20: 	GtkWidget *sch_label;
renatofilho@20: 	
renatofilho@20: 	GtkTreeViewColumn *rec_column1;
renatofilho@20: 	GtkTreeViewColumn *rec_column2;
renatofilho@20: 	GtkTreeViewColumn *rec_column3;
renatofilho@20: 	GtkTreeViewColumn *rec_column4;
renatofilho@20: 	GtkTreeViewColumn *sch_column1;
renatofilho@20: 	GtkTreeViewColumn *sch_column2;
renatofilho@20: 	GtkTreeViewColumn *sch_column3;
renatofilho@20: 	GtkTreeViewColumn *sch_column4;
renatofilho@20: 	
renatofilho@20: 	GtkCellRenderer *rec_renderer;
renatofilho@20: 	GtkCellRenderer *sch_renderer;
renatofilho@20: 
renatofilho@20: 	GtkTreeStore *sch_tree_store;
renatofilho@20: 	GtkTreeStore *rec_tree_store;
renatofilho@20: 	
renatofilho@20: 	GMythScheduler *scheduler;
rosfran@244: 
rosfran@244: 	GMythBackendInfo* backend_info;
renatofilho@20: 	
renatofilho@20: } MMythRecordUI;
renatofilho@20: 
rosfran@244: MMythRecordUI* mmyth_recordui_new( GMythBackendInfo* backend_info );
renatofilho@20: void mmyth_recordui_free (MMythRecordUI *recordui);
renatofilho@20: 
renatofilho@20: void mmyth_recordui_delete_selected (GtkButton *button, MMythRecordUI *recordui);
renatofilho@20: gboolean mmyth_recordui_reload_all (MMythRecordUI *recordui);
renatofilho@20: gboolean mmyth_recordui_reload_schedule (MMythRecordUI *recordui);
renatofilho@20: gboolean mmyth_recordui_reload_record (MMythRecordUI *recordui);
renatofilho@20: 
renatofilho@20: gchar* mmyth_recordui_get_selected_recorded (MMythRecordUI *recordui);
renatofilho@20: 
renatofilho@20: #endif /*MMYTH_RECORD_H_*/