diff -r cb885ee44618 -r 20de88fec6f4 maemo-ui-old/src/mmyth_recordui.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/maemo-ui-old/src/mmyth_recordui.h Mon Jan 28 19:39:14 2008 +0000 @@ -0,0 +1,52 @@ +#ifndef MMYTH_RECORD_H_ +#define MMYTH_RECORD_H_ + +#include +#include + +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; + + GMythBackendInfo *backend_info; + +} MMythRecordUI; + +MMythRecordUI *mmyth_recordui_new(GMythBackendInfo * backend_info); +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_ */