mainWindow.h--mianwindow.h
[lttv.git] / ltt / branches / poly / include / lttv / mainWindow.h
index 24c80da04cce3f92f284f9fd8c827f5d11b026b4..db39fd6e1b316b3e21aa249bc0018134db208e78 100644 (file)
@@ -1,3 +1,21 @@
+/* This file is part of the Linux Trace Toolkit viewer
+ * Copyright (C) 2003-2004 Xiangxiu Yang
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License Version 2 as
+ * published by the Free Software Foundation;
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, 
+ * MA 02111-1307, USA.
+ */
+
 #ifndef _MAIN_WINDOW_
 #define _MAIN_WINDOW_
 
@@ -9,7 +27,7 @@
 #include <lttv/processTrace.h>
 
 #include <lttv/common.h>
-#include <lttv/gtkcustom.h>
+#include <lttv/gtkmultivpaned.h>
 #include <lttv/hook.h>
 #include <lttv/stats.h>
 
@@ -20,24 +38,15 @@ typedef struct _WindowCreationData {
 
 
 typedef struct _TracesetInfo {
-       gchar* path;
-       LttvHooks 
-         *before_traceset,
-         *after_traceset,
-         *before_trace,
-         *after_trace,
-         *before_tracefile,
-         *after_tracefile,
-         *before_event,
-         *after_event;
-        //FIXME? TracesetContext and stats in same or different variable ?
-       LttvTracesetStats * traceset_context;
-       LttvTraceset * traceset;
+  //FIXME? TracesetContext and stats in same or different variable ?
+  LttvTracesetStats * traceset_context;
+  LttvTraceset * traceset;
 } TracesetInfo ;
 
 
 struct _MainWindow{
   GtkWidget*      mwindow;            /* Main Window */
+  int             window_width;
 
   /* Status bar information */
   //  guint         MainSBarContextID;    /* Context ID of main status bar */
@@ -54,8 +63,6 @@ struct _MainWindow{
  
   //  lttv_trace_filter * filter; /* trace filter associated with the window */
 
-  /* Traceset related information */
-  TracesetInfo * traceset_info; 
   /* Attributes for trace reading hooks local to the main window */
   LttvIAttribute * attributes;
   
@@ -71,7 +78,7 @@ struct _MainWindow{
 
 struct _Tab{
   GtkWidget * label;
-  GtkCustom * custom;
+  GtkMultiVPaned * multi_vpaned;
    
   // startTime is the left of the visible area. Corresponds to the scrollbar
   // value.
@@ -85,6 +92,9 @@ struct _Tab{
 
   struct _Tab * next;
   MainWindow  * mw;
+
+  /* Traceset related information */
+  TracesetInfo * traceset_info; 
 };
 
 /**
This page took 0.023708 seconds and 4 git commands to generate.