maemo-ui/src/mmyth_schedulerui.h
author morphbr
Sat Feb 10 22:12:54 2007 +0000 (2007-02-10)
branchtrunk
changeset 351 c331f4639111
parent 20 7174e23f7617
child 754 cb885ee44618
permissions -rw-r--r--
[svn r353] - Fixed memory leak inside gmyth_http.c (http_request)
     1 #ifndef MMYTH_SCHEDULERECORDING_H_
     2 #define MMYTH_SCHEDULERECORDING_H_
     3 
     4 #include <glib.h>
     5 
     6 #include <gmyth/gmyth_backendinfo.h>
     7 
     8 typedef struct _MMythSchedulerUI {
     9 	
    10 	GList *channel_list;
    11 	
    12 	GtkWidget *main_widget;
    13 
    14 	GtkWidget *channel_combobox;
    15 	GtkWidget *freq_combobox;
    16 	GtkWidget *hour_spinbutton;
    17 	GtkWidget *min_spinbutton;
    18 	GtkWidget *duration_spinbutton;
    19 	GtkWidget *title_entry;
    20 	GtkWidget *date_button;
    21 
    22 	GtkWidget *calendar_dialog;
    23 	GtkWidget *calendar;
    24 	
    25 	guint year_temp, month_temp, day_temp;
    26 
    27 	GMythBackendInfo* backend_info;
    28 
    29 } MMythSchedulerUI;
    30 
    31 typedef struct {
    32     long int channel_id;
    33 
    34     struct tm start_tm;
    35 
    36     int duration;
    37     int frequency;
    38 
    39     GString *title;
    40 
    41 } ScheduleEntry;
    42 
    43 MMythSchedulerUI* mmyth_schedulerui_new ( GMythBackendInfo* backend_info );
    44 
    45 gboolean mmyth_schedulerui_save (MMythSchedulerUI *scheduler_ui);
    46 
    47 void mmyth_schedulerui_cb_schedule_button (GtkButton * button, gpointer user_data);
    48 
    49 
    50 #endif /*MMYTH_SCHEDULERECORDING_H_*/