7 #include <lttv/attribute.h>
8 #include <lttv/traceset.h>
9 #include <lttv/processTrace.h>
11 #include <lttv/common.h>
12 #include <lttv/gtkcustom.h>
13 #include <lttv/hook.h>
14 #include <lttv/stats.h>
16 typedef struct _WindowCreationData
{
22 typedef struct _TracesetInfo
{
33 //FIXME? TracesetContext and stats in same or different variable ?
34 LttvTracesetStats
* traceset_context
;
35 LttvTraceset
* traceset
;
40 GtkWidget
* mwindow
; /* Main Window */
42 /* Status bar information */
43 // guint MainSBarContextID; /* Context ID of main status bar */
44 // guint BegTimeSBarContextID; /* Context ID of BegTime status bar */
45 // guint EndTimeSBarContextID; /* Context ID of EndTime status bar */
48 //openTracesetWindow* OpenTracesetWindow;/* Window to get prof and proc file*/
49 //viewTimeFrameWindow* ViewTimeFrameWindow;/*Window to select time frame */
50 //gotoEventWindow* GotoEventWindow; /*search for event description*/
51 //openFilterWindow* OpenFilterWindow; /* Open a filter selection window */
52 GtkWidget
* help_contents
;/* Window to display help contents */
53 GtkWidget
* about_box
; /* Window about information */
55 // lttv_trace_filter * filter; /* trace filter associated with the window */
57 /* Traceset related information */
58 TracesetInfo
* traceset_info
;
59 /* Attributes for trace reading hooks local to the main window */
60 LttvIAttribute
* attributes
;
65 WindowCreationData
* win_creation_data
;
67 GHashTable
* hash_menu_item
;
68 GHashTable
* hash_toolbar_item
;
76 // startTime is the left of the visible area. Corresponds to the scrollbar
78 // Time_Width is a zoom dependant value (corresponding to page size)
79 TimeWindow time_window
;
81 // The current time is the time selected in the visible area by the user,
82 // not the scrollbar value.
84 LttvIAttribute
* attributes
;
91 * Remove menu and toolbar item when a module unloaded
93 void main_window_remove_menu_item(lttv_constructor view_constructor
);
94 void main_window_remove_toolbar_item(lttv_constructor view_constructor
);
96 #endif /* _MAIN_WINDOW_ */