X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=ltt%2Fbranches%2Fpoly%2Flttv%2Fmodules%2FguiControlFlow%2FEvent_Hooks.h;h=66170d3c0de667f8c20cb523b2c61a9a7abcb0d8;hb=a7e6e8284bcc732f7db90354f8e3282b1d8b4629;hp=a1fbb45807a86ab8590642cda19714ec72218506;hpb=8b90e6486401fa3388e550e0f3d55a3d70f4d0bf;p=lttv.git diff --git a/ltt/branches/poly/lttv/modules/guiControlFlow/Event_Hooks.h b/ltt/branches/poly/lttv/modules/guiControlFlow/Event_Hooks.h index a1fbb458..66170d3c 100644 --- a/ltt/branches/poly/lttv/modules/guiControlFlow/Event_Hooks.h +++ b/ltt/branches/poly/lttv/modules/guiControlFlow/Event_Hooks.h @@ -1,5 +1,5 @@ /* Event_hooks.c defines the hooks that are given to processTrace as parameter. - * These hooks call the Drawing API to draw the information on the screen, + * These hooks call the drawing API to draw the information on the screen, * using information from Context, but mostly state (running, waiting...). */ @@ -22,27 +22,27 @@ */ typedef struct _EventRequest { - ControlFlowData *Control_Flow_Data; - LttTime time_begin, time_end; - gint x_begin, x_end; - /* Fill the Events_Context during the initial expose, before calling for - * events. - */ - //GArray Events_Context; //FIXME + ControlFlowData *control_flow_data; + LttTime time_begin, time_end; + gint x_begin, x_end; + /* Fill the Events_Context during the initial expose, before calling for + * events. + */ + //GArray Events_Context; //FIXME } EventRequest ; -void send_test_data(ProcessList *Process_List, Drawing_t *Drawing); +void send_test_data(ProcessList *process_list, Drawing_t *drawing); -GtkWidget *h_guicontrolflow(MainWindow *pmParentWindow, LttvTracesetSelector * s, char * key); +GtkWidget *h_guicontrolflow(MainWindow *mw, LttvTracesetSelector * s, char * key); int event_selected_hook(void *hook_data, void *call_data); /* Hook called before drawing. Gets the initial context at the beginning of the - * drawing interval and copy it to the context in Event_Request. + * drawing interval and copy it to the context in event_request. */ int draw_before_hook(void *hook_data, void *call_data); @@ -75,8 +75,8 @@ void draw_closure(gpointer key, gpointer value, gpointer user_data); int after_data_request(void *hook_data, void *call_data); -void update_time_window_hook(void *hook_data, void *call_data); -void update_current_time_hook(void *hook_data, void *call_data); +gint update_time_window_hook(void *hook_data, void *call_data); +gint update_current_time_hook(void *hook_data, void *call_data);