maemo-ui/src/mmyth_recordui.h
author rosfran
Wed Jan 17 20:08:44 2007 +0000 (2007-01-17)
branchtrunk
changeset 272 8cab5caf8d09
parent 20 7174e23f7617
child 754 cb885ee44618
permissions -rw-r--r--
[svn r273] Fixes the timeout bug, it uses to happen in some network topologies, like the WLANs, which throws TIMED_OUT sockets when trying to opening them.
     1 #ifndef MMYTH_RECORD_H_
     2 #define MMYTH_RECORD_H_
     3 
     4 #include <gmyth/gmyth_scheduler.h>
     5 #include <gmyth/gmyth_backendinfo.h>
     6 
     7 typedef struct _MMythRecordUI
     8 {
     9 	GtkWidget *scrolled_window;
    10 	GtkWidget *viewport;
    11 	GtkWidget *notebook;
    12 	
    13 	GtkWidget *rec_scrolled_window;
    14 	GtkWidget *sch_scrolled_window;
    15 	GtkWidget *rec_treeview;
    16 	GtkWidget *sch_treeview;
    17 	GtkWidget *rec_label;
    18 	GtkWidget *sch_label;
    19 	
    20 	GtkTreeViewColumn *rec_column1;
    21 	GtkTreeViewColumn *rec_column2;
    22 	GtkTreeViewColumn *rec_column3;
    23 	GtkTreeViewColumn *rec_column4;
    24 	GtkTreeViewColumn *sch_column1;
    25 	GtkTreeViewColumn *sch_column2;
    26 	GtkTreeViewColumn *sch_column3;
    27 	GtkTreeViewColumn *sch_column4;
    28 	
    29 	GtkCellRenderer *rec_renderer;
    30 	GtkCellRenderer *sch_renderer;
    31 
    32 	GtkTreeStore *sch_tree_store;
    33 	GtkTreeStore *rec_tree_store;
    34 	
    35 	GMythScheduler *scheduler;
    36 
    37 	GMythBackendInfo* backend_info;
    38 	
    39 } MMythRecordUI;
    40 
    41 MMythRecordUI* mmyth_recordui_new( GMythBackendInfo* backend_info );
    42 void mmyth_recordui_free (MMythRecordUI *recordui);
    43 
    44 void mmyth_recordui_delete_selected (GtkButton *button, MMythRecordUI *recordui);
    45 gboolean mmyth_recordui_reload_all (MMythRecordUI *recordui);
    46 gboolean mmyth_recordui_reload_schedule (MMythRecordUI *recordui);
    47 gboolean mmyth_recordui_reload_record (MMythRecordUI *recordui);
    48 
    49 gchar* mmyth_recordui_get_selected_recorded (MMythRecordUI *recordui);
    50 
    51 #endif /*MMYTH_RECORD_H_*/