10 #include "hildon-widgets/hildon-program.h"
11 #include "hildon-widgets/hildon-window.h"
14 #include "mmyth_uicommon.h"
15 #include "mmyth_recordui.h"
16 #include "mmyth_schedulerui.h"
17 #include "mmyth_tvplayer.h"
20 * GMyth specific includes
22 #include <gmyth/gmyth_backendinfo.h>
24 typedef struct _MMythUi {
27 * The main application window
29 GtkWidget *main_window;
30 MMythUiCommon *current_uicommon;
33 * Main widget components
36 GtkWidget *video_alignment;
40 * Main widgets grouping
42 MMythUiCommon *main_uicommon;
43 MMythUiCommon *video_uicommon;
44 MMythUiCommon *epg_grid_uicommon;
45 MMythUiCommon *record_uicommon;
46 MMythUiCommon *schedule_uicommon;
48 GMythBackendInfo *backend_info;
52 // GstTagList *tagcache;
54 MMythRecordUI *mmyth_recordui;
55 MMythSchedulerUI *mmyth_schedulerui;
58 HildonProgram *program;
60 GtkWidget *menu_setup;
63 MMythTVPlayer *tvplayer;
67 GdkPixbuf *icon_sports,
71 GdkColor main_bg_color;
73 void mmyth_set_main_widget(MMythUi * mmyth_ui,
74 MMythUiCommon * new_ui);
75 // void mmyth_play_selected(GtkButton * button, gpointer user_data);
78 MMythUi *mmyth_ui_initialize(HildonProgram * program,
79 GtkWidget * main_window);
81 MMythUi *mmyth_ui_initialize(GtkWidget * main_window);
84 void mmyth_ui_finalize(MMythUi * mmyth_ui);
86 void mmyth_ui_set_widget(MMythUi * mmyth_ui,
87 MMythUiCommon * new_uicommon);
89 GtkWidget *mmyth_ui_get_video_widget(MMythUi * mmyth_ui);
91 #endif /* MMYTH_UI_H_ */