diff -r 000000000000 -r c83c59b22fe1 maemo-ui/src/mmyth_recordui.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/maemo-ui/src/mmyth_recordui.h Fri Oct 27 00:11:21 2006 +0100 @@ -0,0 +1,48 @@ +#ifndef MMYTH_RECORD_H_ +#define MMYTH_RECORD_H_ + +#include "gmyth_scheduler.h" + +typedef struct _MMythRecordUI +{ + GtkWidget *scrolled_window; + GtkWidget *viewport; + GtkWidget *notebook; + + GtkWidget *rec_scrolled_window; + GtkWidget *sch_scrolled_window; + GtkWidget *rec_treeview; + GtkWidget *sch_treeview; + GtkWidget *rec_label; + GtkWidget *sch_label; + + GtkTreeViewColumn *rec_column1; + GtkTreeViewColumn *rec_column2; + GtkTreeViewColumn *rec_column3; + GtkTreeViewColumn *rec_column4; + GtkTreeViewColumn *sch_column1; + GtkTreeViewColumn *sch_column2; + GtkTreeViewColumn *sch_column3; + GtkTreeViewColumn *sch_column4; + + GtkCellRenderer *rec_renderer; + GtkCellRenderer *sch_renderer; + + GtkTreeStore *sch_tree_store; + GtkTreeStore *rec_tree_store; + + GMythScheduler *scheduler; + +} MMythRecordUI; + +MMythRecordUI* mmyth_recordui_new(void); +void mmyth_recordui_free (MMythRecordUI *recordui); + +void mmyth_recordui_delete_selected (GtkButton *button, MMythRecordUI *recordui); +gboolean mmyth_recordui_reload_all (MMythRecordUI *recordui); +gboolean mmyth_recordui_reload_schedule (MMythRecordUI *recordui); +gboolean mmyth_recordui_reload_record (MMythRecordUI *recordui); + +gchar* mmyth_recordui_get_selected_recorded (MMythRecordUI *recordui); + +#endif /*MMYTH_RECORD_H_*/