maemo-ui/src/mmyth_recordui.h
branchtrunk
changeset 33 79fca2122593
child 244 c88244670b08
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/maemo-ui/src/mmyth_recordui.h	Wed Oct 18 23:08:56 2006 +0100
     1.3 @@ -0,0 +1,48 @@
     1.4 +#ifndef MMYTH_RECORD_H_
     1.5 +#define MMYTH_RECORD_H_
     1.6 +
     1.7 +#include "gmyth_scheduler.h"
     1.8 +
     1.9 +typedef struct _MMythRecordUI
    1.10 +{
    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 +} MMythRecordUI;
    1.40 +
    1.41 +MMythRecordUI* mmyth_recordui_new(void);
    1.42 +void mmyth_recordui_free (MMythRecordUI *recordui);
    1.43 +
    1.44 +void mmyth_recordui_delete_selected (GtkButton *button, MMythRecordUI *recordui);
    1.45 +gboolean mmyth_recordui_reload_all (MMythRecordUI *recordui);
    1.46 +gboolean mmyth_recordui_reload_schedule (MMythRecordUI *recordui);
    1.47 +gboolean mmyth_recordui_reload_record (MMythRecordUI *recordui);
    1.48 +
    1.49 +gchar* mmyth_recordui_get_selected_recorded (MMythRecordUI *recordui);
    1.50 +
    1.51 +#endif /*MMYTH_RECORD_H_*/