compile fix
[lttv.git] / ltt / branches / poly / lttv / modules / gui / lttvwindow / lttvwindow / lttvwindow.c
index c44a39bdf0d71d6c26b35b6d83ccb12b2bb0d387..69cb1ddda2e35e1ae27d3c70a08e832a017293d2 100644 (file)
@@ -905,6 +905,20 @@ void lttvwindow_events_request_remove_all(Tab       *tab,
 
 }
 
+/**
+ * Function to get the current time interval shown on the current tab.
+ * It will be called by a viewer's hook function to update the 
+ * shown time interval of the viewer and also be called by the constructor
+ * of the viewer.
+ * @param tab viewer's tab 
+ * @return time window.
+ */
+
+TimeWindow lttvwindow_get_time_window(Tab *tab)
+{
+  return tab->time_window;
+}
+
 
 /**
  * Function to get the current time/event of the current tab.
This page took 0.023113 seconds and 4 git commands to generate.