1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/maemo-ui/src/mmyth_schedulerui.h Wed Dec 20 14:43:11 2006 +0000
1.3 @@ -0,0 +1,45 @@
1.4 +#ifndef MMYTH_SCHEDULERECORDING_H_
1.5 +#define MMYTH_SCHEDULERECORDING_H_
1.6 +
1.7 +#include <glib.h>
1.8 +
1.9 +typedef struct _MMythSchedulerUI {
1.10 +
1.11 + GList *channel_list;
1.12 +
1.13 + GtkWidget *main_widget;
1.14 +
1.15 + GtkWidget *channel_combobox;
1.16 + GtkWidget *freq_combobox;
1.17 + GtkWidget *hour_spinbutton;
1.18 + GtkWidget *min_spinbutton;
1.19 + GtkWidget *duration_spinbutton;
1.20 + GtkWidget *title_entry;
1.21 + GtkWidget *date_button;
1.22 +
1.23 + GtkWidget *calendar_dialog;
1.24 + GtkWidget *calendar;
1.25 +
1.26 + guint year_temp, month_temp, day_temp;
1.27 +} MMythSchedulerUI;
1.28 +
1.29 +typedef struct {
1.30 + long int channel_id;
1.31 +
1.32 + struct tm start_tm;
1.33 +
1.34 + int duration;
1.35 + int frequency;
1.36 +
1.37 + GString *title;
1.38 +
1.39 +} ScheduleEntry;
1.40 +
1.41 +MMythSchedulerUI* mmyth_schedulerui_new (void);
1.42 +
1.43 +gboolean mmyth_schedulerui_save (MMythSchedulerUI *scheduler_ui);
1.44 +
1.45 +void mmyth_schedulerui_cb_schedule_button (GtkButton * button, gpointer user_data);
1.46 +
1.47 +
1.48 +#endif /*MMYTH_SCHEDULERECORDING_H_*/