| 1 | #ifndef COMMON_H |
| 2 | #define COMMON_H |
| 3 | |
| 4 | #include <stdio.h> |
| 5 | #include <ltt/ltt.h> |
| 6 | #include <gtk/gtk.h> |
| 7 | #include <lttv/lttvfilter.h> |
| 8 | |
| 9 | typedef struct _MainWindow MainWindow; |
| 10 | typedef struct _Tab Tab; |
| 11 | |
| 12 | /* constructor of the viewer */ |
| 13 | typedef GtkWidget * (*lttv_constructor)(MainWindow * main_window, |
| 14 | LttvTracesetSelector * s, char *key); |
| 15 | typedef lttv_constructor view_constructor; |
| 16 | |
| 17 | typedef struct _TimeWindow { |
| 18 | LttTime start_time; |
| 19 | LttTime time_width; |
| 20 | } TimeWindow; |
| 21 | |
| 22 | #endif // COMMON_H |