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