maemo-ui/src/mmyth_schedulerui.h
author morphbr
Tue May 29 21:24:48 2007 +0100 (2007-05-29)
branchtrunk
changeset 718 3fbcd3d9b2d1
parent 20 7174e23f7617
child 754 cb885ee44618
permissions -rw-r--r--
[svn r724] * GMyth-Streamer version 0.3 released
- Improved Log architecture;
- Creation of a history for the transcoder's actions
- Creation of an id for each transcoder instanciated
- Also wrapps default actions for python's default logger

- Created new functions to make use of this new Log architecture;
- serve_new_id
- serve_get_log
- serve_get_all_log

- _Lot_ of small bug fixes;

- Inserted header for all files;

- Splited files with too many lines (more than 1 class per file)
in more files;
     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_*/