| author | leo_sobral |
| Mon Oct 09 19:31:49 2006 +0100 (2006-10-09) | |
| branch | trunk |
| changeset 28 | 53e90bebcb72 |
| child 244 | c88244670b08 |
| permissions | -rw-r--r-- |
| renatofilho@20 | 1 |
#ifndef MMYTH_SCHEDULERECORDING_H_ |
| renatofilho@20 | 2 |
#define MMYTH_SCHEDULERECORDING_H_ |
| renatofilho@20 | 3 |
|
| renatofilho@20 | 4 |
#include <glib.h> |
| renatofilho@20 | 5 |
|
| renatofilho@20 | 6 |
typedef struct _MMythSchedulerUI {
|
| renatofilho@20 | 7 |
|
| renatofilho@20 | 8 |
GList *channel_list; |
| renatofilho@20 | 9 |
|
| renatofilho@20 | 10 |
GtkWidget *main_widget; |
| renatofilho@20 | 11 |
|
| renatofilho@20 | 12 |
GtkWidget *channel_combobox; |
| renatofilho@20 | 13 |
GtkWidget *freq_combobox; |
| renatofilho@20 | 14 |
GtkWidget *hour_spinbutton; |
| renatofilho@20 | 15 |
GtkWidget *min_spinbutton; |
| renatofilho@20 | 16 |
GtkWidget *duration_spinbutton; |
| renatofilho@20 | 17 |
GtkWidget *title_entry; |
| renatofilho@20 | 18 |
GtkWidget *date_button; |
| renatofilho@20 | 19 |
|
| renatofilho@20 | 20 |
GtkWidget *calendar_dialog; |
| renatofilho@20 | 21 |
GtkWidget *calendar; |
| renatofilho@20 | 22 |
|
| renatofilho@20 | 23 |
guint year_temp, month_temp, day_temp; |
| renatofilho@20 | 24 |
} MMythSchedulerUI; |
| renatofilho@20 | 25 |
|
| renatofilho@20 | 26 |
typedef struct {
|
| renatofilho@20 | 27 |
long int channel_id; |
| renatofilho@20 | 28 |
|
| renatofilho@20 | 29 |
struct tm start_tm; |
| renatofilho@20 | 30 |
|
| renatofilho@20 | 31 |
int duration; |
| renatofilho@20 | 32 |
int frequency; |
| renatofilho@20 | 33 |
|
| renatofilho@20 | 34 |
GString *title; |
| renatofilho@20 | 35 |
|
| renatofilho@20 | 36 |
} ScheduleEntry; |
| renatofilho@20 | 37 |
|
| renatofilho@20 | 38 |
MMythSchedulerUI* mmyth_schedulerui_new (void); |
| renatofilho@20 | 39 |
|
| renatofilho@20 | 40 |
gboolean mmyth_schedulerui_save (MMythSchedulerUI *scheduler_ui); |
| renatofilho@20 | 41 |
|
| renatofilho@20 | 42 |
void mmyth_schedulerui_cb_schedule_button (GtkButton * button, gpointer user_data); |
| renatofilho@20 | 43 |
|
| renatofilho@20 | 44 |
|
| renatofilho@20 | 45 |
#endif /*MMYTH_SCHEDULERECORDING_H_*/ |