1.1 --- a/maemo-ui/src/mmyth_ui.h Wed Dec 06 20:22:48 2006 +0000
1.2 +++ b/maemo-ui/src/mmyth_ui.h Sat Jul 14 17:20:54 2007 +0100
1.3 @@ -16,63 +16,76 @@
1.4 #include "mmyth_schedulerui.h"
1.5 #include "mmyth_tvplayer.h"
1.6
1.7 -/* GMyth specific includes */
1.8 +/*
1.9 + * GMyth specific includes
1.10 + */
1.11 #include <gmyth/gmyth_backendinfo.h>
1.12
1.13 -typedef struct _MMythUi
1.14 -{
1.15 +typedef struct _MMythUi {
1.16
1.17 - /* The main application window */
1.18 - GtkWidget *main_window;
1.19 - MMythUiCommon *current_uicommon;
1.20 + /*
1.21 + * The main application window
1.22 + */
1.23 + GtkWidget *main_window;
1.24 + MMythUiCommon *current_uicommon;
1.25
1.26 - /* Main widget components */
1.27 - GtkWidget *main_hbox;
1.28 - GtkWidget *video_alignment;
1.29 - GdkPixbuf *logo;
1.30 + /*
1.31 + * Main widget components
1.32 + */
1.33 + GtkWidget *main_hbox;
1.34 + GtkWidget *video_alignment;
1.35 + GdkPixbuf *logo;
1.36
1.37 - /* Main widgets grouping */
1.38 - MMythUiCommon *main_uicommon;
1.39 - MMythUiCommon *video_uicommon;
1.40 - MMythUiCommon *epg_grid_uicommon;
1.41 - MMythUiCommon *record_uicommon;
1.42 - MMythUiCommon *schedule_uicommon;
1.43 + /*
1.44 + * Main widgets grouping
1.45 + */
1.46 + MMythUiCommon *main_uicommon;
1.47 + MMythUiCommon *video_uicommon;
1.48 + MMythUiCommon *epg_grid_uicommon;
1.49 + MMythUiCommon *record_uicommon;
1.50 + MMythUiCommon *schedule_uicommon;
1.51
1.52 GMythBackendInfo *backend_info;
1.53 -
1.54 - GtkWidget *videow;
1.55 - int idle_id;
1.56 - //GstTagList *tagcache;
1.57 -
1.58 - MMythRecordUI *mmyth_recordui;
1.59 +
1.60 + GtkWidget *videow;
1.61 + int idle_id;
1.62 + // GstTagList *tagcache;
1.63 +
1.64 + MMythRecordUI *mmyth_recordui;
1.65 MMythSchedulerUI *mmyth_schedulerui;
1.66
1.67 #ifdef MAEMO_PLATFORM
1.68 - HildonProgram *program;
1.69 - GtkMenu *main_menu;
1.70 - GtkWidget *menu_setup;
1.71 + HildonProgram *program;
1.72 + GtkMenu *main_menu;
1.73 + GtkWidget *menu_setup;
1.74 #endif
1.75
1.76 - MMythTVPlayer *tvplayer;
1.77 -
1.78 + MMythTVPlayer *tvplayer;
1.79 +
1.80 } MMythUi;
1.81
1.82 -GdkPixbuf *icon_sports, *icon_news, *icon_movies, *icon_shows;
1.83 -GdkColor main_bg_color;
1.84 +GdkPixbuf *icon_sports,
1.85 + *icon_news,
1.86 + *icon_movies,
1.87 + *icon_shows;
1.88 +GdkColor main_bg_color;
1.89
1.90 -void mmyth_set_main_widget (MMythUi * mmyth_ui, MMythUiCommon * new_ui);
1.91 -//void mmyth_play_selected(GtkButton * button, gpointer user_data);
1.92 +void mmyth_set_main_widget(MMythUi * mmyth_ui,
1.93 + MMythUiCommon * new_ui);
1.94 +// void mmyth_play_selected(GtkButton * button, gpointer user_data);
1.95
1.96 #ifdef MAEMO_PLATFORM
1.97 -MMythUi *mmyth_ui_initialize (HildonProgram *program, GtkWidget * main_window);
1.98 +MMythUi *mmyth_ui_initialize(HildonProgram * program,
1.99 + GtkWidget * main_window);
1.100 #else
1.101 -MMythUi *mmyth_ui_initialize (GtkWidget * main_window);
1.102 +MMythUi *mmyth_ui_initialize(GtkWidget * main_window);
1.103 #endif
1.104
1.105 -void mmyth_ui_finalize (MMythUi * mmyth_ui);
1.106 +void mmyth_ui_finalize(MMythUi * mmyth_ui);
1.107
1.108 -void mmyth_ui_set_widget (MMythUi * mmyth_ui, MMythUiCommon * new_uicommon);
1.109 +void mmyth_ui_set_widget(MMythUi * mmyth_ui,
1.110 + MMythUiCommon * new_uicommon);
1.111
1.112 -GtkWidget* mmyth_ui_get_video_widget (MMythUi *mmyth_ui);
1.113 +GtkWidget *mmyth_ui_get_video_widget(MMythUi * mmyth_ui);
1.114
1.115 -#endif /* MMYTH_UI_H_ */
1.116 +#endif /* MMYTH_UI_H_ */