type name change : lttv_constructor -> lttvwindow_viewer_constructor
[lttv.git] / ltt / branches / poly / lttv / modules / gui / lttvwindow / lttvwindow / common.h
... / ...
CommitLineData
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 <lttvwindow/lttvfilter.h>
26
27#define MAX_NUMBER_EVENT "MAX_NUMBER_EVENT"
28#define TRACESET_TIME_SPAN "TRACESET_TIME_SPAN"
29
30typedef struct _MainWindow MainWindow;
31typedef struct _Tab Tab;
32
33/* constructor of the viewer */
34typedef GtkWidget * (*lttvwindow_viewer_constructor)
35 (MainWindow * main_window, LttvTracesetSelector * s, char *key);
36
37typedef struct _TimeWindow {
38 LttTime start_time;
39 LttTime time_width;
40} TimeWindow;
41
42#endif // COMMON_H
This page took 0.023361 seconds and 4 git commands to generate.