It compiles and runs after the cleanups
[lttv.git] / ltt / branches / poly / lttv / modules / gui / lttvgui / common.h
1 /* This file is part of the Linux Trace Toolkit viewer
2 * Copyright (C) 2003-2004 Xiangxiu Yang
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License Version 2 as
6 * published by the Free Software Foundation;
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program; if not, write to the Free Software
15 * Foundation, Inc., 59 Temple Place - Suite 330, Boston,
16 * MA 02111-1307, USA.
17 */
18
19 #ifndef COMMON_H
20 #define COMMON_H
21
22 #include <stdio.h>
23 #include <ltt/ltt.h>
24 #include <gtk/gtk.h>
25 #include <lttvgui/lttvfilter.h>
26
27 #define MAX_NUMBER_EVENT "MAX_NUMBER_EVENT"
28 #define TRACESET_TIME_SPAN "TRACESET_TIME_SPAN"
29
30 typedef struct _MainWindow MainWindow;
31 typedef struct _Tab Tab;
32
33 /* constructor of the viewer */
34 typedef GtkWidget * (*lttv_constructor)(MainWindow * main_window,
35 LttvTracesetSelector * s, char *key);
36 typedef lttv_constructor view_constructor;
37
38 typedef struct _TimeWindow {
39 LttTime start_time;
40 LttTime time_width;
41 } TimeWindow;
42
43 #endif // COMMON_H
This page took 0.029341 seconds and 4 git commands to generate.