control flow background request desactivated
[lttv.git] / ltt / branches / poly / lttv / modules / gui / controlflow / cfv.h
index 03cef7e72f6631ba80b12c1f4481583de30eb2e2..0b2caea19e505de0e4fc9a7a1863707d9d26a8cf 100644 (file)
 #include <lttvwindow/mainwindow.h>
 #include "processlist.h"
 
+extern GQuark LTT_NAME_CPU;
+
+
+#ifndef TYPE_DRAWING_T_DEFINED
+#define TYPE_DRAWING_T_DEFINED
+typedef struct _Drawing_t Drawing_t;
+#endif //TYPE_DRAWING_T_DEFINED
+
+#ifndef TYPE_CONTROLFLOWDATA_DEFINED
+#define TYPE_CONTROLFLOWDATA_DEFINED
 typedef struct _ControlFlowData ControlFlowData;
+#endif //TYPE_CONTROLFLOWDATA_DEFINED
+
+struct _ControlFlowData {
+
+  GtkWidget *top_widget;
+  Tab *tab;
+
+  GtkWidget *box; /* box that contains the hpaned. necessary for it to work */
+  GtkWidget *h_paned;
+
+  ProcessList *process_list;
+
+  Drawing_t *drawing;
+  GtkAdjustment *v_adjust ;
+  
+  /* Shown events information */
+//  TimeWindow time_window;
+//  LttTime current_time;
+  
+  //guint currently_Selected_Event  ;
+  guint number_of_process;
+  guint background_info_waiting; /* Number of background requests waited for
+                                    in order to have all the info ready. */
+
+} ;
+
 
 /* Control Flow Data constructor */
 ControlFlowData *guicontrolflow(void);
@@ -34,13 +70,13 @@ guicontrolflow_destructor_full(ControlFlowData *control_flow_data);
 void
 guicontrolflow_destructor(ControlFlowData *control_flow_data);
 
-inline GtkWidget *guicontrolflow_get_widget(
+static inline GtkWidget *guicontrolflow_get_widget(
                                      ControlFlowData *control_flow_data)
 {
   return control_flow_data->top_widget ;
 }
 
-inline ProcessList *guicontrolflow_get_process_list
+static inline ProcessList *guicontrolflow_get_process_list
     (ControlFlowData *control_flow_data)
 {
     return control_flow_data->process_list ;
This page took 0.023266 seconds and 4 git commands to generate.