maemo-ui-old/src/mmyth_recordui.h
author melunko
Wed Aug 01 14:50:29 2007 +0100 (2007-08-01)
branchtrunk
changeset 790 7a914b3fafc1
parent 754 maemo-ui/src/mmyth_recordui.h@cb885ee44618
permissions -rw-r--r--
[svn r796] Moved maemo-ui to maemo-ui-old
     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     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     GMythBackendInfo *backend_info;
    37 
    38 } MMythRecordUI;
    39 
    40 MMythRecordUI  *mmyth_recordui_new(GMythBackendInfo * backend_info);
    41 void            mmyth_recordui_free(MMythRecordUI * recordui);
    42 
    43 void            mmyth_recordui_delete_selected(GtkButton * button,
    44                                                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 *
    50                                                      recordui);
    51 
    52 #endif                          /* MMYTH_RECORD_H_ */