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