corrected eventrequst so it is in the main window, given to viewers as hook_data...
authorcompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Thu, 27 May 2004 13:33:03 +0000 (13:33 +0000)
committercompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Thu, 27 May 2004 13:33:03 +0000 (13:33 +0000)
git-svn-id: http://ltt.polymtl.ca/svn@564 04897980-b3bd-0310-b5e0-8ef037075253

ltt/branches/poly/doc/developer/lttvwindow_events_delivery.txt

index 05444b3e4040ba7efc0c2dbb492bbbe659f1c417..081a9805ae4399aaa60e27e578038270231970b8 100644 (file)
@@ -166,13 +166,14 @@ each viewer through process traceset.
 
 - lttvwindow_events_request
 
-It adds the a pointer to the EventsRequest struct to the array of time requests
+It adds the an EventsRequest struct to the array of time requests
 pending and registers a pending request for the next g_idle if none is
-registered. The viewer has to keep a reference to this structure in its own
-instance data structure. Only the stop_flag can be changed by the viewer
-through the event hooks.
+registered. The viewer can access this structure during the read as its
+hook_data. Only the stop_flag can be changed by the viewer through the
+event hooks.
 
 typedef struct _EventsRequest {
+  gpointer                    viewer_data;
   LttTime                     start_time,       /* Unset : { 0, 0 }         */
   LttvTracesetContextPosition start_position,   /* Unset : num_traces = 0   */
   gboolean                    stop_flag,        /* Continue:TRUE Stop:FALSE */
This page took 0.026135 seconds and 4 git commands to generate.