X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;ds=sidebyside;f=ltt%2Fbranches%2Fpoly%2Flttv%2Fmodules%2FguiControlFlow%2FEvent_Hooks.h;h=b500e751bc4bb2f714266216beaad9ce4ce72793;hb=f66eba62898bf525692d55ef95935266aee56096;hp=21f7df5cd3d16d1113a502a60fe2ce0999994882;hpb=bbb9e8106c6633e3533cbedb3c7a45912c041e7b;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 21f7df5c..b500e751 100644 --- a/ltt/branches/poly/lttv/modules/guiControlFlow/Event_Hooks.h +++ b/ltt/branches/poly/lttv/modules/guiControlFlow/Event_Hooks.h @@ -9,8 +9,30 @@ #include #include +#include #include "Process_List.h" #include "Drawing.h" +#include "CFV.h" + + +/* Structure used to store and use information relative to one events refresh + * request. Typically filled in by the expose event callback, then passed to the + * library call, then used by the drawing hooks. Then, once all the events are + * sent, it is freed by the hook called after the reading. + */ +typedef struct _EventRequest +{ + ControlFlowData *Control_Flow_Data; + LttTime time_begin, time_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); @@ -51,4 +73,6 @@ void update_time_window_hook(void *hook_data, void *call_data); void update_current_time_hook(void *hook_data, void *call_data); + + #endif // _EVENT_HOOKS_H