final inline compile fixes
[lttv.git] / ltt / branches / poly / lttv / modules / gui / controlflow / cfv.h
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
21 #ifndef _CFV_H
22 #define _CFV_H
23
24 #include <gtk/gtk.h>
25 #include <lttvwindow/mainwindow.h>
26 #include "processlist.h"
27
28
29 #ifndef TYPE_DRAWING_T_DEFINED
30 #define TYPE_DRAWING_T_DEFINED
31 typedef struct _Drawing_t Drawing_t;
32 #endif //TYPE_DRAWING_T_DEFINED
33
34 #ifndef TYPE_CONTROLFLOWDATA_DEFINED
35 #define TYPE_CONTROLFLOWDATA_DEFINED
36 typedef struct _ControlFlowData ControlFlowData;
37 #endif //TYPE_CONTROLFLOWDATA_DEFINED
38
39 struct _ControlFlowData {
40
41 GtkWidget *top_widget;
42 Tab *tab;
43
44 GtkWidget *box; /* box that contains the hpaned. necessary for it to work */
45 GtkWidget *h_paned;
46
47 ProcessList *process_list;
48
49 Drawing_t *drawing;
50 GtkAdjustment *v_adjust ;
51
52 /* Shown events information */
53 // TimeWindow time_window;
54 // LttTime current_time;
55
56 //guint currently_Selected_Event ;
57 guint number_of_process;
58 guint background_info_waiting; /* Number of background requests waited for
59 in order to have all the info ready. */
60
61 } ;
62
63
64 /* Control Flow Data constructor */
65 ControlFlowData *guicontrolflow(void);
66 void
67 guicontrolflow_destructor_full(ControlFlowData *control_flow_data);
68 void
69 guicontrolflow_destructor(ControlFlowData *control_flow_data);
70
71 static inline GtkWidget *guicontrolflow_get_widget(
72 ControlFlowData *control_flow_data)
73 {
74 return control_flow_data->top_widget ;
75 }
76
77 static inline ProcessList *guicontrolflow_get_process_list
78 (ControlFlowData *control_flow_data)
79 {
80 return control_flow_data->process_list ;
81 }
82
83
84
85 #endif // _CFV_H
This page took 0.036701 seconds and 4 git commands to generate.