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