renatofilho@20
|
1 |
#ifndef MMYTH_RECORD_H_
|
renatofilho@20
|
2 |
#define MMYTH_RECORD_H_
|
renatofilho@20
|
3 |
|
renatofilho@20
|
4 |
#include "gmyth_scheduler.h"
|
renatofilho@20
|
5 |
|
renatofilho@20
|
6 |
typedef struct _MMythRecordUI
|
renatofilho@20
|
7 |
{
|
renatofilho@20
|
8 |
GtkWidget *scrolled_window;
|
renatofilho@20
|
9 |
GtkWidget *viewport;
|
renatofilho@20
|
10 |
GtkWidget *notebook;
|
renatofilho@20
|
11 |
|
renatofilho@20
|
12 |
GtkWidget *rec_scrolled_window;
|
renatofilho@20
|
13 |
GtkWidget *sch_scrolled_window;
|
renatofilho@20
|
14 |
GtkWidget *rec_treeview;
|
renatofilho@20
|
15 |
GtkWidget *sch_treeview;
|
renatofilho@20
|
16 |
GtkWidget *rec_label;
|
renatofilho@20
|
17 |
GtkWidget *sch_label;
|
renatofilho@20
|
18 |
|
renatofilho@20
|
19 |
GtkTreeViewColumn *rec_column1;
|
renatofilho@20
|
20 |
GtkTreeViewColumn *rec_column2;
|
renatofilho@20
|
21 |
GtkTreeViewColumn *rec_column3;
|
renatofilho@20
|
22 |
GtkTreeViewColumn *rec_column4;
|
renatofilho@20
|
23 |
GtkTreeViewColumn *sch_column1;
|
renatofilho@20
|
24 |
GtkTreeViewColumn *sch_column2;
|
renatofilho@20
|
25 |
GtkTreeViewColumn *sch_column3;
|
renatofilho@20
|
26 |
GtkTreeViewColumn *sch_column4;
|
renatofilho@20
|
27 |
|
renatofilho@20
|
28 |
GtkCellRenderer *rec_renderer;
|
renatofilho@20
|
29 |
GtkCellRenderer *sch_renderer;
|
renatofilho@20
|
30 |
|
renatofilho@20
|
31 |
GtkTreeStore *sch_tree_store;
|
renatofilho@20
|
32 |
GtkTreeStore *rec_tree_store;
|
renatofilho@20
|
33 |
|
renatofilho@20
|
34 |
GMythScheduler *scheduler;
|
renatofilho@20
|
35 |
|
renatofilho@20
|
36 |
} MMythRecordUI;
|
renatofilho@20
|
37 |
|
renatofilho@20
|
38 |
MMythRecordUI* mmyth_recordui_new(void);
|
renatofilho@20
|
39 |
void mmyth_recordui_free (MMythRecordUI *recordui);
|
renatofilho@20
|
40 |
|
renatofilho@20
|
41 |
void mmyth_recordui_delete_selected (GtkButton *button, MMythRecordUI *recordui);
|
renatofilho@20
|
42 |
gboolean mmyth_recordui_reload_all (MMythRecordUI *recordui);
|
renatofilho@20
|
43 |
gboolean mmyth_recordui_reload_schedule (MMythRecordUI *recordui);
|
renatofilho@20
|
44 |
gboolean mmyth_recordui_reload_record (MMythRecordUI *recordui);
|
renatofilho@20
|
45 |
|
renatofilho@20
|
46 |
gchar* mmyth_recordui_get_selected_recorded (MMythRecordUI *recordui);
|
renatofilho@20
|
47 |
|
renatofilho@20
|
48 |
#endif /*MMYTH_RECORD_H_*/
|