diff -r c3c073032757 -r e42706ada231 maemo-ui/src/mmyth_ui.h --- a/maemo-ui/src/mmyth_ui.h Wed Dec 06 20:22:48 2006 +0000 +++ b/maemo-ui/src/mmyth_ui.h Sat Jul 14 17:20:54 2007 +0100 @@ -16,63 +16,76 @@ #include "mmyth_schedulerui.h" #include "mmyth_tvplayer.h" -/* GMyth specific includes */ +/* + * GMyth specific includes + */ #include -typedef struct _MMythUi -{ +typedef struct _MMythUi { - /* The main application window */ - GtkWidget *main_window; - MMythUiCommon *current_uicommon; + /* + * The main application window + */ + GtkWidget *main_window; + MMythUiCommon *current_uicommon; - /* Main widget components */ - GtkWidget *main_hbox; - GtkWidget *video_alignment; - GdkPixbuf *logo; + /* + * Main widget components + */ + GtkWidget *main_hbox; + GtkWidget *video_alignment; + GdkPixbuf *logo; - /* Main widgets grouping */ - MMythUiCommon *main_uicommon; - MMythUiCommon *video_uicommon; - MMythUiCommon *epg_grid_uicommon; - MMythUiCommon *record_uicommon; - MMythUiCommon *schedule_uicommon; + /* + * Main widgets grouping + */ + MMythUiCommon *main_uicommon; + MMythUiCommon *video_uicommon; + MMythUiCommon *epg_grid_uicommon; + MMythUiCommon *record_uicommon; + MMythUiCommon *schedule_uicommon; GMythBackendInfo *backend_info; - - GtkWidget *videow; - int idle_id; - //GstTagList *tagcache; - - MMythRecordUI *mmyth_recordui; + + GtkWidget *videow; + int idle_id; + // GstTagList *tagcache; + + MMythRecordUI *mmyth_recordui; MMythSchedulerUI *mmyth_schedulerui; #ifdef MAEMO_PLATFORM - HildonProgram *program; - GtkMenu *main_menu; - GtkWidget *menu_setup; + HildonProgram *program; + GtkMenu *main_menu; + GtkWidget *menu_setup; #endif - MMythTVPlayer *tvplayer; - + MMythTVPlayer *tvplayer; + } MMythUi; -GdkPixbuf *icon_sports, *icon_news, *icon_movies, *icon_shows; -GdkColor main_bg_color; +GdkPixbuf *icon_sports, + *icon_news, + *icon_movies, + *icon_shows; +GdkColor main_bg_color; -void mmyth_set_main_widget (MMythUi * mmyth_ui, MMythUiCommon * new_ui); -//void mmyth_play_selected(GtkButton * button, gpointer user_data); +void mmyth_set_main_widget(MMythUi * mmyth_ui, + MMythUiCommon * new_ui); +// void mmyth_play_selected(GtkButton * button, gpointer user_data); #ifdef MAEMO_PLATFORM -MMythUi *mmyth_ui_initialize (HildonProgram *program, GtkWidget * main_window); +MMythUi *mmyth_ui_initialize(HildonProgram * program, + GtkWidget * main_window); #else -MMythUi *mmyth_ui_initialize (GtkWidget * main_window); +MMythUi *mmyth_ui_initialize(GtkWidget * main_window); #endif -void mmyth_ui_finalize (MMythUi * mmyth_ui); +void mmyth_ui_finalize(MMythUi * mmyth_ui); -void mmyth_ui_set_widget (MMythUi * mmyth_ui, MMythUiCommon * new_uicommon); +void mmyth_ui_set_widget(MMythUi * mmyth_ui, + MMythUiCommon * new_uicommon); -GtkWidget* mmyth_ui_get_video_widget (MMythUi *mmyth_ui); +GtkWidget *mmyth_ui_get_video_widget(MMythUi * mmyth_ui); -#endif /* MMYTH_UI_H_ */ +#endif /* MMYTH_UI_H_ */