diff -r 000000000000 -r 58bc1bd585e3 maemo-ui/src/mmyth_schedulerui.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/maemo-ui/src/mmyth_schedulerui.h Mon Dec 04 15:10:05 2006 +0000 @@ -0,0 +1,45 @@ +#ifndef MMYTH_SCHEDULERECORDING_H_ +#define MMYTH_SCHEDULERECORDING_H_ + +#include + +typedef struct _MMythSchedulerUI { + + GList *channel_list; + + GtkWidget *main_widget; + + GtkWidget *channel_combobox; + GtkWidget *freq_combobox; + GtkWidget *hour_spinbutton; + GtkWidget *min_spinbutton; + GtkWidget *duration_spinbutton; + GtkWidget *title_entry; + GtkWidget *date_button; + + GtkWidget *calendar_dialog; + GtkWidget *calendar; + + guint year_temp, month_temp, day_temp; +} MMythSchedulerUI; + +typedef struct { + long int channel_id; + + struct tm start_tm; + + int duration; + int frequency; + + GString *title; + +} ScheduleEntry; + +MMythSchedulerUI* mmyth_schedulerui_new (void); + +gboolean mmyth_schedulerui_save (MMythSchedulerUI *scheduler_ui); + +void mmyth_schedulerui_cb_schedule_button (GtkButton * button, gpointer user_data); + + +#endif /*MMYTH_SCHEDULERECORDING_H_*/