Commit | Line | Data |
---|---|---|
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 _Tab Tab; | |
10 | ||
11 | /* constructor of the viewer */ | |
12 | typedef GtkWidget * (*lttv_constructor)(MainWindow * main_window); | |
13 | typedef lttv_constructor view_constructor; | |
14 | ||
15 | typedef struct _TimeWindow { | |
16 | LttTime start_time; | |
17 | LttTime time_width; | |
18 | } TimeWindow; | |
19 | ||
20 | #endif // COMMON_H |