* @return The widget created.
*/
GtkWidget *
-h_guicontrolflow(Tab *tab, LttvTracesetSelector * s, char * key)
+h_guicontrolflow(Tab *tab)
{
- g_info("h_guicontrolflow, %p, %p, %s", tab, s, key);
+ g_info("h_guicontrolflow, %p", tab);
ControlFlowData *control_flow_data = guicontrolflow() ;
control_flow_data->tab = tab;
void send_test_data(ProcessList *process_list, Drawing_t *drawing);
-GtkWidget *h_guicontrolflow(Tab *tab, LttvTracesetSelector * s, char * key);
+GtkWidget *h_guicontrolflow(Tab *tab);
int event_selected_hook(void *hook_data, void *call_data);
LttvTracesetContext * tsc);
//! Event Viewer's constructor hook
-GtkWidget *h_gui_events(Tab *tab, LttvTracesetSelector * s, char* key);
+GtkWidget *h_gui_events(Tab *tab);
//! Event Viewer's constructor
-EventViewerData *gui_events(Tab *tab, LttvTracesetSelector *s, char *key);
+EventViewerData *gui_events(Tab *tab);
//! Event Viewer's destructor
void gui_events_destructor(EventViewerData *event_viewer_data);
void gui_events_free(EventViewerData *event_viewer_data);
* @return The widget created.
*/
GtkWidget *
-h_gui_events(Tab * tab, LttvTracesetSelector * s, char* key)
+h_gui_events(Tab * tab)
{
- EventViewerData* event_viewer_data = gui_events(tab, s, key) ;
+ EventViewerData* event_viewer_data = gui_events(tab) ;
if(event_viewer_data)
return event_viewer_data->hbox_v;
else return NULL;
* @return The Event viewer data created.
*/
EventViewerData *
-gui_events(Tab *tab, LttvTracesetSelector * s,char* key )
+gui_events(Tab *tab)
{
LttTime end;
GtkTreeViewColumn *column;
viewer_container = tab->viewer_container;
s = construct_traceset_selector(tab->traceset_info->traceset);
- viewer = (GtkWidget*)constructor(tab, s, "Traceset_Selector");
+ viewer = (GtkWidget*)constructor(tab);
if(viewer)
{
//gtk_multivpaned_widget_add(GTK_MULTIVPANED(multivpaned), viewer);
/* constructor a the viewer */
-//FIXME explain LttvTracesetSelector and key
-typedef GtkWidget * (*lttvwindow_viewer_constructor)
- (Tab *tab, LttvTracesetSelector * s, char *key);
+typedef GtkWidget* (*lttvwindow_viewer_constructor)(Tab *tab);
/**
GtkWidget *guistatistic_get_widget(StatisticViewerData *svd);
//! Statistic Viewer's constructor hook
-GtkWidget *h_gui_statistic(Tab *tab, LttvTracesetSelector * s, char * key);
+GtkWidget *h_gui_statistic(Tab *tab);
//! Statistic Viewer's constructor
StatisticViewerData *gui_statistic(Tab *tab);
//! Statistic Viewer's destructor
* @return The widget created.
*/
GtkWidget *
-h_gui_statistic(Tab *tab, LttvTracesetSelector * s, char * key)
+h_gui_statistic(Tab *tab)
{
StatisticViewerData* statistic_viewer_data = gui_statistic(tab) ;