compile fix
[lttv.git] / ltt / branches / poly / lttv / modules / gui / controlflow / cfv.h
CommitLineData
ce0214a6 1/* This file is part of the Linux Trace Toolkit viewer
2 * Copyright (C) 2003-2004 Mathieu Desnoyers
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
20
f0d936c0 21#ifndef _CFV_H
22#define _CFV_H
23
1ab818de 24#include <gtk/gtk.h>
13f86ce2 25#include <lttvwindow/mainwindow.h>
d66666fe 26#include "processlist.h"
1ab818de 27
50106726 28
29struct _ControlFlowData {
30
31 GtkWidget *top_widget;
32 Tab *tab;
33
34 GtkWidget *box; /* box that contains the hpaned. necessary for it to work */
35 GtkWidget *h_paned;
36
37 ProcessList *process_list;
38
39 Drawing_t *drawing;
40 GtkAdjustment *v_adjust ;
41
42 /* Shown events information */
43// TimeWindow time_window;
44// LttTime current_time;
45
46 //guint currently_Selected_Event ;
47 guint number_of_process;
48 guint background_info_waiting; /* Number of background requests waited for
49 in order to have all the info ready. */
50
51} ;
52
53
54
55
f0d936c0 56typedef struct _ControlFlowData ControlFlowData;
57
58/* Control Flow Data constructor */
4c69e0cc 59ControlFlowData *guicontrolflow(void);
558aa013 60void
68997a22 61guicontrolflow_destructor_full(ControlFlowData *control_flow_data);
78417791 62void
68997a22 63guicontrolflow_destructor(ControlFlowData *control_flow_data);
6550d711 64
04cd9a1e 65static inline GtkWidget *guicontrolflow_get_widget(
6550d711 66 ControlFlowData *control_flow_data)
67{
68 return control_flow_data->top_widget ;
69}
70
04cd9a1e 71static inline ProcessList *guicontrolflow_get_process_list
6550d711 72 (ControlFlowData *control_flow_data)
73{
74 return control_flow_data->process_list ;
75}
76
f7afe191 77
1ab818de 78
f0d936c0 79#endif // _CFV_H
This page took 0.031641 seconds and 4 git commands to generate.