}
+/**
+ * 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.