| 1 | #ifndef COMMON_H |
| 2 | #define COMMON_H |
| 3 | |
| 4 | #include <stdio.h> |
| 5 | #include <ltt/ltt.h> |
| 6 | #include <gtk/gtk.h> |
| 7 | |
| 8 | typedef struct _mainWindow mainWindow; |
| 9 | typedef struct _systemView systemView; |
| 10 | typedef struct _tab tab; |
| 11 | typedef struct _TimeInterval TimeInterval; |
| 12 | |
| 13 | /* constructor of the viewer */ |
| 14 | typedef GtkWidget * (*lttv_constructor)(mainWindow * main_window); |
| 15 | typedef lttv_constructor view_constructor; |
| 16 | |
| 17 | struct _TimeInterval{ |
| 18 | LttTime startTime; |
| 19 | LttTime endTime; |
| 20 | }; |
| 21 | |
| 22 | |
| 23 | #endif // COMMON_H |