X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=ltt%2Fbranches%2Fpoly%2Flttv%2Fmodules%2Fgui%2Flttvwindow%2Flttvwindow%2Flttvwindow.h;h=e0a969a208fc05f0af43179045372bec3b26bb52;hb=41a9e0c379c701161640b4b87d5b92ecb6f654e0;hp=a555c75e459bd709a0efd358a1bb5e262763a04d;hpb=f37a2002e940e771ef47c9936f9b82b79e64d086;p=lttv.git diff --git a/ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/lttvwindow.h b/ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/lttvwindow.h index a555c75e..e0a969a2 100644 --- a/ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/lttvwindow.h +++ b/ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/lttvwindow.h @@ -262,11 +262,11 @@ FIXME : explain other important events /* Module Related API */ +/* GQuark containing constructors of viewers in global attributes */ +extern GQuark LTTV_VIEWER_CONSTRUCTORS; /* 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); /** @@ -276,7 +276,8 @@ typedef GtkWidget * (*lttvwindow_viewer_constructor) * window. * * It should be called by init function of the module. - * + * + * @param name name of the viewer : mainly used as tag for constructor * @param menu_path path of the menu item. NULL : no menu entry. * @param menu_text text of the menu item. * @param pixmap Image shown on the toolbar item. NULL : no button. @@ -285,7 +286,8 @@ typedef GtkWidget * (*lttvwindow_viewer_constructor) */ void lttvwindow_register_constructor - (char * menu_path, + (char * name, + char * menu_path, char * menu_text, char ** pixmap, char * tooltip, @@ -599,6 +601,7 @@ typedef struct _EventsRequest { LttTime end_time; /* Unset : ltt_time_infinite*/ guint num_events; /* Unset : G_MAXUINT */ LttvTracesetContextPosition *end_position; /* Unset : NULL */ + gint trace; /* unset : -1 */ LttvHooks *before_chunk_traceset; /* Unset : NULL */ LttvHooks *before_chunk_trace; /* Unset : NULL */ LttvHooks *before_chunk_tracefile;/* Unset : NULL */ @@ -612,7 +615,7 @@ typedef struct _EventsRequest { } EventsRequest; /* Maximum number of events to proceed at once in a chunk */ -#define CHUNK_NUM_EVENTS 200 +#define CHUNK_NUM_EVENTS 500 /** @@ -660,7 +663,7 @@ void lttvwindow_events_request_remove_all(Tab *tab, * @return the current tab's time interval. */ -TimeWindow lttvwindow_get_time_window(Tab *tab); +__inline TimeWindow lttvwindow_get_time_window(Tab *tab); /**