diff -r cb885ee44618 -r bb5592a9ac48 maemo-ui-old/src/mmyth_schedulerui.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/maemo-ui-old/src/mmyth_schedulerui.h Mon Oct 08 19:35:09 2007 +0100 @@ -0,0 +1,53 @@ +#ifndef MMYTH_SCHEDULERECORDING_H_ +#define MMYTH_SCHEDULERECORDING_H_ + +#include + +#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; + + GMythBackendInfo *backend_info; + +} MMythSchedulerUI; + +typedef struct { + long int channel_id; + + struct tm start_tm; + + int duration; + int frequency; + + GString *title; + +} ScheduleEntry; + +MMythSchedulerUI *mmyth_schedulerui_new(GMythBackendInfo * backend_info); + +gboolean mmyth_schedulerui_save(MMythSchedulerUI * scheduler_ui); + +void mmyth_schedulerui_cb_schedule_button(GtkButton * button, + gpointer user_data); + + +#endif /* MMYTH_SCHEDULERECORDING_H_ */