extern GSList * g_main_window_list;
-gint lttvwindow_preempt_count = 0;
+__EXPORT gint lttvwindow_preempt_count = 0;
/* set_time_window
*
* @param view_constructor constructor of the viewer.
*/
-void lttvwindow_register_constructor
+__EXPORT void lttvwindow_register_constructor
(char * name,
char * menu_path,
char * menu_text,
*/
-void lttvwindow_unregister_constructor
+__EXPORT void lttvwindow_unregister_constructor
(lttvwindow_viewer_constructor view_constructor)
{
LttvIAttribute *attributes_global = LTTV_IATTRIBUTE(lttv_global_attributes());
* @param hook hook function of the viewer.
* @param hook_data hook data associated with the hook function.
*/
-void lttvwindow_register_time_window_notify(Tab *tab,
+__EXPORT void lttvwindow_register_time_window_notify(Tab *tab,
LttvHook hook, gpointer hook_data)
{
LttvAttributeValue value;
* @param hook_data hook data associated with the hook function.
*/
-void lttvwindow_unregister_time_window_notify(Tab *tab,
+__EXPORT void lttvwindow_unregister_time_window_notify(Tab *tab,
LttvHook hook, gpointer hook_data)
{
LttvAttributeValue value;
* @param hook_data hook data associated with the hook function.
*/
-void lttvwindow_register_traceset_notify(Tab *tab,
+__EXPORT void lttvwindow_register_traceset_notify(Tab *tab,
LttvHook hook, gpointer hook_data)
{
LttvAttributeValue value;
* @param hook_data hook data associated with the hook function.
*/
-void lttvwindow_unregister_traceset_notify(Tab *tab,
+__EXPORT void lttvwindow_unregister_traceset_notify(Tab *tab,
LttvHook hook, gpointer hook_data)
{
LttvAttributeValue value;
* @param hook_data hook data associated with the hook function.
*/
-void lttvwindow_register_redraw_notify(Tab *tab,
+__EXPORT void lttvwindow_register_redraw_notify(Tab *tab,
LttvHook hook, gpointer hook_data)
{
LttvAttributeValue value;
* @param hook_data hook data associated with the hook function.
*/
-void lttvwindow_unregister_redraw_notify(Tab *tab,
+__EXPORT void lttvwindow_unregister_redraw_notify(Tab *tab,
LttvHook hook, gpointer hook_data)
{
LttvAttributeValue value;
* @param hook_data hook data associated with the hook function.
*/
-void lttvwindow_register_continue_notify(Tab *tab,
+__EXPORT void lttvwindow_register_continue_notify(Tab *tab,
LttvHook hook, gpointer hook_data)
{
LttvAttributeValue value;
* @param hook_data hook data associated with the hook function.
*/
-void lttvwindow_unregister_continue_notify(Tab *tab,
+__EXPORT void lttvwindow_unregister_continue_notify(Tab *tab,
LttvHook hook, gpointer hook_data)
{
LttvAttributeValue value;
* @param hook_data hook data associated with the hook function.
*/
-void lttvwindow_register_filter_notify(Tab *tab,
+__EXPORT void lttvwindow_register_filter_notify(Tab *tab,
LttvHook hook, gpointer hook_data)
{
LttvAttributeValue value;
* @param hook_data hook data associated with the hook function.
*/
-void lttvwindow_unregister_filter_notify(Tab *tab,
+__EXPORT void lttvwindow_unregister_filter_notify(Tab *tab,
LttvHook hook,
gpointer hook_data)
{
* @param hook_data hook data associated with the hook function.
*/
-void lttvwindow_register_current_time_notify(Tab *tab,
+__EXPORT void lttvwindow_register_current_time_notify(Tab *tab,
LttvHook hook, gpointer hook_data)
{
LttvAttributeValue value;
* @param hook_data hook data associated with the hook function.
*/
-void lttvwindow_unregister_current_time_notify(Tab *tab,
+__EXPORT void lttvwindow_unregister_current_time_notify(Tab *tab,
LttvHook hook, gpointer hook_data)
{
LttvAttributeValue value;
* @param hook_data hook data associated with the hook function.
*/
-void lttvwindow_register_current_position_notify(Tab *tab,
+__EXPORT void lttvwindow_register_current_position_notify(Tab *tab,
LttvHook hook, gpointer hook_data)
{
LttvAttributeValue value;
* @param hook_data hook data associated with the hook function.
*/
-void lttvwindow_unregister_current_position_notify(Tab *tab,
+__EXPORT void lttvwindow_unregister_current_position_notify(Tab *tab,
LttvHook hook, gpointer hook_data)
{
LttvAttributeValue value;
* @param time_interval a pointer where time interval is stored.
*/
-void lttvwindow_report_time_window(Tab *tab,
- TimeWindow time_window)
+__EXPORT void lttvwindow_report_time_window(Tab *tab,
+ TimeWindow time_window)
{
//set_time_window(tab, time_window);
//set_time_window_adjustment(tab, time_window);
* @param time a pointer where time is stored.
*/
-void lttvwindow_report_current_time(Tab *tab,
+__EXPORT void lttvwindow_report_current_time(Tab *tab,
LttTime time)
{
LttvAttributeValue value;
* @param time a pointer where time is stored.
*/
-void lttvwindow_report_current_position(Tab *tab,
+__EXPORT void lttvwindow_report_current_position(Tab *tab,
LttvTracesetContextPosition *pos)
{
LttvAttributeValue value;
* @param events_requested the structure of request from.
*/
-void lttvwindow_events_request(Tab *tab,
- EventsRequest *events_request)
+__EXPORT void lttvwindow_events_request(Tab *tab,
+ EventsRequest *events_request)
{
tab->events_requests = g_slist_append(tab->events_requests, events_request);
}
-void lttvwindow_events_request_remove_all(Tab *tab,
+__EXPORT void lttvwindow_events_request_remove_all(Tab *tab,
gconstpointer viewer)
{
GSList *element = tab->events_requests;
* @return : TRUE is events requests are pending, else FALSE.
*/
-gboolean lttvwindow_events_request_pending(Tab *tab)
+__EXPORT gboolean lttvwindow_events_request_pending(Tab *tab)
{
GSList *element = tab->events_requests;
* @return time window.
*/
-TimeWindow lttvwindow_get_time_window(Tab *tab)
+__EXPORT TimeWindow lttvwindow_get_time_window(Tab *tab)
{
return tab->time_window;
}
* @return time
*/
-LttTime lttvwindow_get_current_time(Tab *tab)
+__EXPORT LttTime lttvwindow_get_current_time(Tab *tab)
{
return tab->current_time;
}
*
* returns the current filter
*/
-LttvFilter *lttvwindow_get_filter(Tab *tab)
+__EXPORT LttvFilter *lttvwindow_get_filter(Tab *tab)
{
return g_object_get_data(G_OBJECT(tab->vbox), "filter");
}
* @param tab viewer's tab
*/
-LttvTracesetStats* lttvwindow_get_traceset_stats(Tab *tab)
+__EXPORT LttvTracesetStats* lttvwindow_get_traceset_stats(Tab *tab)
{
return tab->traceset_info->traceset_context;
}
-
-LttvTracesetContext* lttvwindow_get_traceset_context(Tab *tab)
+__EXPORT LttvTracesetContext* lttvwindow_get_traceset_context(Tab *tab)
{
return (LttvTracesetContext*)tab->traceset_info->traceset_context;
}
-GtkWidget *main_window_get_widget(Tab *tab)
+__EXPORT GtkWidget *main_window_get_widget(Tab *tab)
{
return tab->mw->mwindow;
}
* NULL is returned if the trace is not present
*/
-LttvTrace *lttvwindowtraces_get_trace_by_name(gchar *path)
+__EXPORT LttvTrace *lttvwindowtraces_get_trace_by_name(gchar *path)
{
guint i;
/* Get a trace by its number identifier */
-LttvTrace *lttvwindowtraces_get_trace(guint num)
+__EXPORT LttvTrace *lttvwindowtraces_get_trace(guint num)
{
LttvAttribute *g_attribute = lttv_global_attributes();
LttvAttribute *attribute;
/* Total number of traces */
-guint lttvwindowtraces_get_number()
+__EXPORT guint lttvwindowtraces_get_number()
{
LttvAttribute *g_attribute = lttv_global_attributes();
LttvAttribute *attribute;
* hooks.
*/
-void lttvwindowtraces_background_request_queue
+__EXPORT void lttvwindowtraces_background_request_queue
(GtkWidget *widget, LttvTrace *trace, gchar *module_name)
{
BackgroundRequest *bg_req;
*
*/
-gboolean lttvwindowtraces_background_request_find
+__EXPORT gboolean lttvwindowtraces_background_request_find
(LttvTrace *trace, gchar *module_name)
{
LttvAttribute *attribute = lttv_trace_attribute(trace);
* @param notify Hook to call when the notify position is passed
*/
-void lttvwindowtraces_background_notify_queue
+__EXPORT void lttvwindowtraces_background_notify_queue
(gpointer owner,
LttvTrace *trace,
LttTime notify_time,
* @param notify Hook to call when the notify position is passed
*/
-void lttvwindowtraces_background_notify_current
+__EXPORT void lttvwindowtraces_background_notify_current
(gpointer owner,
LttvTrace *trace,
LttTime notify_time,
* @param owner owner of the background notification
*/
-void lttvwindowtraces_background_notify_remove(gpointer owner)
+__EXPORT void lttvwindowtraces_background_notify_remove(gpointer owner)
{
guint i;
LTTV_IN_PROGRESS);
}
-gboolean lttvwindowtraces_get_in_progress(LttvAttributeName module_name,
+__EXPORT gboolean lttvwindowtraces_get_in_progress(LttvAttributeName module_name,
LttvTrace *trace)
{
LttvAttribute *attribute = lttv_trace_attribute(trace);
LTTV_READY);
}
-gboolean lttvwindowtraces_get_ready(LttvAttributeName module_name,
+__EXPORT gboolean lttvwindowtraces_get_ready(LttvAttributeName module_name,
LttvTrace *trace)
{
LttvAttribute *attribute = lttv_trace_attribute(trace);