X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=lttv%2Fmodules%2Fgui%2Flttvwindow%2Flttvwindow%2Flttvwindow.h;h=03ff9cc04e5daf1a86c64fe963ca7d171910b498;hb=451aaf275d421d71097d479eb0ae64fe908d8b6f;hp=42a8ba3083087756470b5c3a12a2bf8909f0f667;hpb=3d1e7ee596d5eef4a50ff7e77d3617643eca133e;p=lttv.git diff --git a/lttv/modules/gui/lttvwindow/lttvwindow/lttvwindow.h b/lttv/modules/gui/lttvwindow/lttvwindow/lttvwindow.h index 42a8ba30..03ff9cc0 100644 --- a/lttv/modules/gui/lttvwindow/lttvwindow/lttvwindow.h +++ b/lttv/modules/gui/lttvwindow/lttvwindow/lttvwindow.h @@ -255,9 +255,11 @@ FIXME : explain other important events #include #include #include -#include +#ifdef BABEL_CLEANUP #include + #include +#endif /* BABEL_CLEANUP */ #include #include @@ -663,7 +665,7 @@ void lttvwindow_report_current_time(Tab *tab, */ void lttvwindow_report_current_position(Tab *tab, - LttvTracesetContextPosition *pos); + LttvTracesetPosition *pos); /** * Function to set the position of the hpane's dividor (viewer). @@ -684,18 +686,17 @@ typedef struct _EventsRequest { gpointer viewer_data; /* Unset : NULL */ gboolean servicing; /* service in progress: TRUE*/ LttTime start_time; /* Unset : ltt_time_infinite*/ - LttvTracesetContextPosition *start_position; /* Unset : NULL */ + LttvTracesetPosition *start_position; /* Unset : NULL */ gboolean stop_flag; /* Continue:TRUE Stop:FALSE */ LttTime end_time; /* Unset : ltt_time_infinite*/ guint num_events; /* Unset : G_MAXUINT */ - LttvTracesetContextPosition *end_position; /* Unset : NULL */ + LttvTracesetPosition *end_position; /* Unset : NULL */ gint trace; /* unset : -1 */ GArray *hooks; /* Unset : NULL */ LttvHooks *before_chunk_traceset; /* Unset : NULL */ LttvHooks *before_chunk_trace; /* Unset : NULL */ LttvHooks *before_chunk_tracefile;/* Unset : NULL */ LttvHooks *event; /* Unset : NULL */ - LttvHooksByIdChannelArray *event_by_id_channel;/* Unset : NULL */ LttvHooks *after_chunk_tracefile; /* Unset : NULL */ LttvHooks *after_chunk_trace; /* Unset : NULL */ LttvHooks *after_chunk_traceset; /* Unset : NULL */ @@ -806,7 +807,7 @@ LttTime lttvwindow_get_current_time(Tab *tab); void lttvwindow_report_filter(Tab *tab, LttvFilter *filter); - +#ifdef BABEL_CLEANUP /** * Function to get the stats of the traceset @@ -817,16 +818,7 @@ void lttvwindow_report_filter(Tab *tab, LttvFilter *filter); */ LttvTracesetStats* lttvwindow_get_traceset_stats(Tab *tab); - -/** - * Function to get the context of the traceset - * It must be non const so the viewer can add and remove hooks from it. - * @param tab the tab the viewer belongs to. - * @return Context of the current tab. - */ - - -LttvTracesetContext* lttvwindow_get_traceset_context(Tab *tab); +#endif /*BABEL_CLEANUP*/ /* set_time_window @@ -858,7 +850,7 @@ void events_request_free(EventsRequest *events_request); GtkWidget *main_window_get_widget(Tab *tab); -void set_current_position(Tab *tab, const LttvTracesetContextPosition *pos); +void set_current_position(Tab *tab, const LttvTracesetPosition *pos); /** @@ -881,6 +873,6 @@ static inline void lttvwindow_events_request_enable(void) void current_position_change_manager(Tab *tab, - LttvTracesetContextPosition *pos); + LttvTracesetPosition *pos); #endif //LTTVWINDOW_H