maemo-ui/src/mmyth_recordui.h
author renatofilho
Mon Dec 18 18:18:26 2006 +0000 (2006-12-18)
branchtrunk
changeset 222 803672c406ec
child 244 c88244670b08
permissions -rw-r--r--
[svn r223] backport of glib functions
     1 #ifndef MMYTH_RECORD_H_
     2 #define MMYTH_RECORD_H_
     3 
     4 #include "gmyth_scheduler.h"
     5 
     6 typedef struct _MMythRecordUI
     7 {
     8 	GtkWidget *scrolled_window;
     9 	GtkWidget *viewport;
    10 	GtkWidget *notebook;
    11 	
    12 	GtkWidget *rec_scrolled_window;
    13 	GtkWidget *sch_scrolled_window;
    14 	GtkWidget *rec_treeview;
    15 	GtkWidget *sch_treeview;
    16 	GtkWidget *rec_label;
    17 	GtkWidget *sch_label;
    18 	
    19 	GtkTreeViewColumn *rec_column1;
    20 	GtkTreeViewColumn *rec_column2;
    21 	GtkTreeViewColumn *rec_column3;
    22 	GtkTreeViewColumn *rec_column4;
    23 	GtkTreeViewColumn *sch_column1;
    24 	GtkTreeViewColumn *sch_column2;
    25 	GtkTreeViewColumn *sch_column3;
    26 	GtkTreeViewColumn *sch_column4;
    27 	
    28 	GtkCellRenderer *rec_renderer;
    29 	GtkCellRenderer *sch_renderer;
    30 
    31 	GtkTreeStore *sch_tree_store;
    32 	GtkTreeStore *rec_tree_store;
    33 	
    34 	GMythScheduler *scheduler;
    35 	
    36 } MMythRecordUI;
    37 
    38 MMythRecordUI* mmyth_recordui_new(void);
    39 void mmyth_recordui_free (MMythRecordUI *recordui);
    40 
    41 void mmyth_recordui_delete_selected (GtkButton *button, MMythRecordUI *recordui);
    42 gboolean mmyth_recordui_reload_all (MMythRecordUI *recordui);
    43 gboolean mmyth_recordui_reload_schedule (MMythRecordUI *recordui);
    44 gboolean mmyth_recordui_reload_record (MMythRecordUI *recordui);
    45 
    46 gchar* mmyth_recordui_get_selected_recorded (MMythRecordUI *recordui);
    47 
    48 #endif /*MMYTH_RECORD_H_*/