gmyth/src/gui/mmyth_schedulerui.h
author leo_sobral
Wed Sep 20 23:45:35 2006 +0100 (2006-09-20)
branchtrunk
changeset 1 ffdf467315ec
permissions -rw-r--r--
[svn r2] imported to sf repository
     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_*/