[svn r31] Some changes, in order to use the newly added nuvdemux features.
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 typedef struct _MMythUi
22 /* The main application window */
23 GtkWidget *main_window;
24 MMythUiCommon *current_uicommon;
26 /* Main widget components */
28 GtkWidget *video_alignment;
31 /* Main widgets grouping */
32 MMythUiCommon *main_uicommon;
33 MMythUiCommon *video_uicommon;
34 MMythUiCommon *epg_grid_uicommon;
35 MMythUiCommon *record_uicommon;
36 MMythUiCommon *schedule_uicommon;
40 //GstTagList *tagcache;
42 MMythRecordUI *mmyth_recordui;
43 MMythSchedulerUI *mmyth_schedulerui;
46 HildonProgram *program;
48 GtkWidget *menu_setup;
51 MMythTVPlayer *tvplayer;
55 GdkPixbuf *icon_sports, *icon_news, *icon_movies, *icon_shows;
56 GdkColor main_bg_color;
58 void mmyth_set_main_widget (MMythUi * mmyth_ui, MMythUiCommon * new_ui);
59 //void mmyth_play_selected(GtkButton * button, gpointer user_data);
62 MMythUi *mmyth_ui_initialize (HildonProgram *program, GtkWidget * main_window);
64 MMythUi *mmyth_ui_initialize (GtkWidget * main_window);
67 void mmyth_ui_finalize (MMythUi * mmyth_ui);
69 void mmyth_ui_set_widget (MMythUi * mmyth_ui, MMythUiCommon * new_uicommon);
71 GtkWidget* mmyth_ui_get_video_widget (MMythUi *mmyth_ui);
73 #endif /* MMYTH_UI_H_ */