type name change : lttv_constructor -> lttvwindow_viewer_constructor
[lttv.git] / ltt / branches / poly / lttv / modules / gui / lttvwindow / lttvwindow / common.h
CommitLineData
97e879d2 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
e969fd8e 19#ifndef COMMON_H
20#define COMMON_H
21
22#include <stdio.h>
23#include <ltt/ltt.h>
24#include <gtk/gtk.h>
13f86ce2 25#include <lttvwindow/lttvfilter.h>
e969fd8e 26
202f6c8f 27#define MAX_NUMBER_EVENT "MAX_NUMBER_EVENT"
28#define TRACESET_TIME_SPAN "TRACESET_TIME_SPAN"
29
bca3b81f 30typedef struct _MainWindow MainWindow;
bca3b81f 31typedef struct _Tab Tab;
e969fd8e 32
33/* constructor of the viewer */
42fcbb71 34typedef GtkWidget * (*lttvwindow_viewer_constructor)
35 (MainWindow * main_window, LttvTracesetSelector * s, char *key);
e969fd8e 36
68b48a45 37typedef struct _TimeWindow {
bca3b81f 38 LttTime start_time;
39 LttTime time_width;
68b48a45 40} TimeWindow;
e969fd8e 41
42#endif // COMMON_H
This page took 0.026575 seconds and 4 git commands to generate.