maemo-ui/src/mmyth_schedulerui.h
author renatofilho
Fri Nov 10 19:35:39 2006 +0000 (2006-11-10)
branchtrunk
changeset 78 ac7e49c234d8
child 244 c88244670b08
permissions -rw-r--r--
[svn r79] removed old code
     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_*/