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