main window files
[lttv.git] / ltt / branches / poly / lttv / modules / gui / mainWin / src / mainWindow.h
1 #ifndef _MAIN_WINDOW_
2 #define _MAIN_WINDOW_
3
4 #include <gtk/gtk.h>
5
6 #include <lttv/gtkcustom.h>
7 #include <ltt/ltt.h>
8 #include <lttv/attribute.h>
9 #include <lttv/traceset.h>
10 #include <lttv/processTrace.h>
11
12
13 typedef struct _TimeInterval{
14 LttTime startTime;
15 LttTime endTime;
16 } TimeInterval;
17
18
19 typedef struct _systemView systemView;
20 typedef struct _tab tab;
21
22 typedef struct _mainWindow{
23 GtkWidget* MWindow; /* Main Window */
24 systemView * SystemView; /* System view displayed in this window*/
25
26 /* Status bar information */
27 // guint MainSBarContextID; /* Context ID of main status bar */
28 // guint BegTimeSBarContextID; /* Context ID of BegTime status bar */
29 // guint EndTimeSBarContextID; /* Context ID of EndTime status bar */
30
31 /* Child windows */
32 //openTracesetWindow* OpenTracesetWindow;/* Window to get prof and proc file*/
33 //viewTimeFrameWindow* ViewTimeFrameWindow;/*Window to select time frame */
34 //gotoEventWindow* GotoEventWindow; /*search for event description*/
35 //openFilterWindow* OpenFilterWindow; /* Open a filter selection window */
36 GtkWidget* HelpContents;/* Window to display help contents */
37 GtkWidget* AboutBox; /* Window about information */
38
39 LttvTracesetContext * traceset_context;
40 LttvTraceset * traceset; /* trace set associated with the window */
41 // lttv_trace_filter * filter; /* trace filter associated with the window */
42
43
44 tab * Tab;
45 tab * CurrentTab;
46 LttvIAttribute * Attributes;
47
48 } mainWindow;
49
50 typedef GtkWidget * (*view_constructor)(mainWindow * main_win);
51
52 struct _systemView{
53 gpointer EventDB;
54 gpointer * SystemInfo;
55 gpointer * Options;
56 mainWindow * Window;
57 struct _systemView * Next;
58 };
59
60 struct _tab{
61 GtkWidget * label;
62 GtkCustom * custom;
63
64 LttTime traceStartTime;
65 LttTime traceEndTime;
66 LttTime startTime;
67 LttTime endTime;
68 LttTime currentTime;
69 LttvIAttribute * Attributes;
70
71 struct _tab * Next;
72 };
73
74 #endif /* _MAIN_WINDOW_ */
75
76
This page took 0.030702 seconds and 4 git commands to generate.