[svn r551] GMyth API changes (GObject fixes and added inheritance).
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"
19 /* GMyth specific includes */
20 #include <gmyth/gmyth_backendinfo.h>
22 typedef struct _MMythUi
25 /* The main application window */
26 GtkWidget *main_window;
27 MMythUiCommon *current_uicommon;
29 /* Main widget components */
31 GtkWidget *video_alignment;
34 /* Main widgets grouping */
35 MMythUiCommon *main_uicommon;
36 MMythUiCommon *video_uicommon;
37 MMythUiCommon *epg_grid_uicommon;
38 MMythUiCommon *record_uicommon;
39 MMythUiCommon *schedule_uicommon;
41 GMythBackendInfo *backend_info;
45 //GstTagList *tagcache;
47 MMythRecordUI *mmyth_recordui;
48 MMythSchedulerUI *mmyth_schedulerui;
51 HildonProgram *program;
53 GtkWidget *menu_setup;
56 MMythTVPlayer *tvplayer;
60 GdkPixbuf *icon_sports, *icon_news, *icon_movies, *icon_shows;
61 GdkColor main_bg_color;
63 void mmyth_set_main_widget (MMythUi * mmyth_ui, MMythUiCommon * new_ui);
64 //void mmyth_play_selected(GtkButton * button, gpointer user_data);
67 MMythUi *mmyth_ui_initialize (HildonProgram *program, GtkWidget * main_window);
69 MMythUi *mmyth_ui_initialize (GtkWidget * main_window);
72 void mmyth_ui_finalize (MMythUi * mmyth_ui);
74 void mmyth_ui_set_widget (MMythUi * mmyth_ui, MMythUiCommon * new_uicommon);
76 GtkWidget* mmyth_ui_get_video_widget (MMythUi *mmyth_ui);
78 #endif /* MMYTH_UI_H_ */