1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/maemo-ui-old/src/mmyth_recordui.h Wed Aug 01 14:50:29 2007 +0100
1.3 @@ -0,0 +1,52 @@
1.4 +#ifndef MMYTH_RECORD_H_
1.5 +#define MMYTH_RECORD_H_
1.6 +
1.7 +#include <gmyth/gmyth_scheduler.h>
1.8 +#include <gmyth/gmyth_backendinfo.h>
1.9 +
1.10 +typedef struct _MMythRecordUI {
1.11 + GtkWidget *scrolled_window;
1.12 + GtkWidget *viewport;
1.13 + GtkWidget *notebook;
1.14 +
1.15 + GtkWidget *rec_scrolled_window;
1.16 + GtkWidget *sch_scrolled_window;
1.17 + GtkWidget *rec_treeview;
1.18 + GtkWidget *sch_treeview;
1.19 + GtkWidget *rec_label;
1.20 + GtkWidget *sch_label;
1.21 +
1.22 + GtkTreeViewColumn *rec_column1;
1.23 + GtkTreeViewColumn *rec_column2;
1.24 + GtkTreeViewColumn *rec_column3;
1.25 + GtkTreeViewColumn *rec_column4;
1.26 + GtkTreeViewColumn *sch_column1;
1.27 + GtkTreeViewColumn *sch_column2;
1.28 + GtkTreeViewColumn *sch_column3;
1.29 + GtkTreeViewColumn *sch_column4;
1.30 +
1.31 + GtkCellRenderer *rec_renderer;
1.32 + GtkCellRenderer *sch_renderer;
1.33 +
1.34 + GtkTreeStore *sch_tree_store;
1.35 + GtkTreeStore *rec_tree_store;
1.36 +
1.37 + GMythScheduler *scheduler;
1.38 +
1.39 + GMythBackendInfo *backend_info;
1.40 +
1.41 +} MMythRecordUI;
1.42 +
1.43 +MMythRecordUI *mmyth_recordui_new(GMythBackendInfo * backend_info);
1.44 +void mmyth_recordui_free(MMythRecordUI * recordui);
1.45 +
1.46 +void mmyth_recordui_delete_selected(GtkButton * button,
1.47 + MMythRecordUI * recordui);
1.48 +gboolean mmyth_recordui_reload_all(MMythRecordUI * recordui);
1.49 +gboolean mmyth_recordui_reload_schedule(MMythRecordUI * recordui);
1.50 +gboolean mmyth_recordui_reload_record(MMythRecordUI * recordui);
1.51 +
1.52 +gchar *mmyth_recordui_get_selected_recorded(MMythRecordUI *
1.53 + recordui);
1.54 +
1.55 +#endif /* MMYTH_RECORD_H_ */