maemo-ui/src/mmyth_schedulerui.h
author rosfran
Fri Oct 20 22:48:04 2006 +0100 (2006-10-20)
branchtrunk
changeset 35 a615ba8f8804
child 244 c88244670b08
permissions -rw-r--r--
[svn r36] Some fixes on the myth file transfer offset number representation.
     1 #ifndef MMYTH_SCHEDULERECORDING_H_
     2 #define MMYTH_SCHEDULERECORDING_H_
     3 
     4 #include <glib.h>
     5 
     6 typedef struct _MMythSchedulerUI {
     7 	
     8 	GList *channel_list;
     9 	
    10 	GtkWidget *main_widget;
    11 
    12 	GtkWidget *channel_combobox;
    13 	GtkWidget *freq_combobox;
    14 	GtkWidget *hour_spinbutton;
    15 	GtkWidget *min_spinbutton;
    16 	GtkWidget *duration_spinbutton;
    17 	GtkWidget *title_entry;
    18 	GtkWidget *date_button;
    19 
    20 	GtkWidget *calendar_dialog;
    21 	GtkWidget *calendar;
    22 	
    23 	guint year_temp, month_temp, day_temp;
    24 } MMythSchedulerUI;
    25 
    26 typedef struct {
    27     long int channel_id;
    28 
    29     struct tm start_tm;
    30 
    31     int duration;
    32     int frequency;
    33 
    34     GString *title;
    35 
    36 } ScheduleEntry;
    37 
    38 MMythSchedulerUI* mmyth_schedulerui_new (void);
    39 
    40 gboolean mmyth_schedulerui_save (MMythSchedulerUI *scheduler_ui);
    41 
    42 void mmyth_schedulerui_cb_schedule_button (GtkButton * button, gpointer user_data);
    43 
    44 
    45 #endif /*MMYTH_SCHEDULERECORDING_H_*/