maemo-ui/src/mmyth_schedulerui.h
branchtrunk
changeset 769 1603bc7804da
parent 244 c88244670b08
     1.1 --- a/maemo-ui/src/mmyth_schedulerui.h	Fri Jan 05 19:27:27 2007 +0000
     1.2 +++ b/maemo-ui/src/mmyth_schedulerui.h	Tue Jul 03 21:20:15 2007 +0100
     1.3 @@ -6,45 +6,48 @@
     1.4  #include <gmyth/gmyth_backendinfo.h>
     1.5  
     1.6  typedef struct _MMythSchedulerUI {
     1.7 -	
     1.8 -	GList *channel_list;
     1.9 -	
    1.10 -	GtkWidget *main_widget;
    1.11  
    1.12 -	GtkWidget *channel_combobox;
    1.13 -	GtkWidget *freq_combobox;
    1.14 -	GtkWidget *hour_spinbutton;
    1.15 -	GtkWidget *min_spinbutton;
    1.16 -	GtkWidget *duration_spinbutton;
    1.17 -	GtkWidget *title_entry;
    1.18 -	GtkWidget *date_button;
    1.19 +    GList          *channel_list;
    1.20  
    1.21 -	GtkWidget *calendar_dialog;
    1.22 -	GtkWidget *calendar;
    1.23 -	
    1.24 -	guint year_temp, month_temp, day_temp;
    1.25 +    GtkWidget      *main_widget;
    1.26  
    1.27 -	GMythBackendInfo* backend_info;
    1.28 +    GtkWidget      *channel_combobox;
    1.29 +    GtkWidget      *freq_combobox;
    1.30 +    GtkWidget      *hour_spinbutton;
    1.31 +    GtkWidget      *min_spinbutton;
    1.32 +    GtkWidget      *duration_spinbutton;
    1.33 +    GtkWidget      *title_entry;
    1.34 +    GtkWidget      *date_button;
    1.35 +
    1.36 +    GtkWidget      *calendar_dialog;
    1.37 +    GtkWidget      *calendar;
    1.38 +
    1.39 +    guint           year_temp,
    1.40 +                    month_temp,
    1.41 +                    day_temp;
    1.42 +
    1.43 +    GMythBackendInfo *backend_info;
    1.44  
    1.45  } MMythSchedulerUI;
    1.46  
    1.47  typedef struct {
    1.48 -    long int channel_id;
    1.49 +    long int        channel_id;
    1.50  
    1.51 -    struct tm start_tm;
    1.52 +    struct tm       start_tm;
    1.53  
    1.54 -    int duration;
    1.55 -    int frequency;
    1.56 +    int             duration;
    1.57 +    int             frequency;
    1.58  
    1.59 -    GString *title;
    1.60 +    GString        *title;
    1.61  
    1.62  } ScheduleEntry;
    1.63  
    1.64 -MMythSchedulerUI* mmyth_schedulerui_new ( GMythBackendInfo* backend_info );
    1.65 +MMythSchedulerUI *mmyth_schedulerui_new(GMythBackendInfo * backend_info);
    1.66  
    1.67 -gboolean mmyth_schedulerui_save (MMythSchedulerUI *scheduler_ui);
    1.68 +gboolean        mmyth_schedulerui_save(MMythSchedulerUI * scheduler_ui);
    1.69  
    1.70 -void mmyth_schedulerui_cb_schedule_button (GtkButton * button, gpointer user_data);
    1.71 +void            mmyth_schedulerui_cb_schedule_button(GtkButton * button,
    1.72 +                                                     gpointer user_data);
    1.73  
    1.74  
    1.75 -#endif /*MMYTH_SCHEDULERECORDING_H_*/
    1.76 +#endif                          /* MMYTH_SCHEDULERECORDING_H_ */