Hooks by priority
[lttv.git] / ltt / branches / poly / doc / developer / lttvwindow_events_delivery.txt
index 8f936a5e8d5748c899953b9f4ff30c8d61945896..6d5ee52cbb3c086e2babb3e2968c74244557ecd2 100644 (file)
@@ -140,20 +140,9 @@ Architecture
 Added to the lttvwindow API :
 
 
-- lttvwindow_events_request
-( MainWindow          *main_win,
-  LttTime              start_time,
-  LttvTracesetPosition start_position,
-  LttTime              end_time,
-  guint                num_events,
-  LttvTracesetPosition end_position,
-  LttvHooksById        before_traceset,
-  LttvHooksById        before_trace,
-  LttvHooksById        before_tracefile,
-  LttvHooksById        middle,
-  LttvHooksById        after_tracefile,
-  LttvHooksById        after_trace,
-  LttvHooksById        after_traceset)
+void lttvwindow_events_request
+( MainWindow                  *main_win,
+  EventsRequest                events_request);
 
 
 Internal functions :
@@ -181,18 +170,18 @@ It adds the EventsRequest struct to the array of time requests pending and
 registers a pending request for the next g_idle if none is registered.
 
 typedef struct _EventsRequest {
-  LttTime              start_time,
-  LttvTracesetPosition start_position,
-  LttTime              end_time,
-  guint                num_events,
-  LttvTracesetPosition end_position,
-  LttvHooksById        before_traceset,
-  LttvHooksById        before_trace,
-  LttvHooksById        before_tracefile,
-  LttvHooksById        middle,
-  LttvHooksById        after_tracefile,
-  LttvHooksById        after_trace,
-  LttvHooksById        after_traceset)
+  LttTime                     start_time,       /* Unset : { 0, 0 }       */
+  LttvTracesetContextPosition start_position,   /* Unset : num_traces = 0 */
+  LttTime                     end_time,         /* Unset : { 0, 0 }       */
+  guint                       num_events,       /* Unset : G_MAXUINT      */
+  LttvTracesetContextPosition end_position,     /* Unset : num_traces = 0 */
+  LttvHooksById              *before_traceset,  /* Unset : NULL           */
+  LttvHooksById              *before_trace,     /* Unset : NULL           */
+  LttvHooksById              *before_tracefile, /* Unset : NULL           */
+  LttvHooksById              *middle,           /* Unset : NULL           */
+  LttvHooksById              *after_tracefile,  /* Unset : NULL           */
+  LttvHooksById              *after_trace,      /* Unset : NULL           */
+  LttvHooksById              *after_traceset    /* Unset : NULL           */
 } EventsRequest;
 
 
This page took 0.023564 seconds and 4 git commands to generate.