add plugin interface to objects
[lttv.git] / ltt / branches / poly / lttv / modules / gui / controlflow / cfv.h
index d5410cafea2bcddbfc9eb336116a348c809ab9f7..5c2276e4ed4d09951511e7e97879a68084bb00fc 100644 (file)
 #include <lttvwindow/mainwindow.h>
 #include <lttv/filter.h>
 #include "processlist.h"
+#include <lttvwindow/lttv_plugin_tab.h>
 
 extern GQuark LTT_NAME_CPU;
 
-
 #ifndef TYPE_DRAWING_T_DEFINED
 #define TYPE_DRAWING_T_DEFINED
 typedef struct _Drawing_t Drawing_t;
@@ -43,10 +43,13 @@ struct _ControlFlowData {
 
   GtkWidget *top_widget;
   Tab *tab;
-
-  GtkWidget *box; /* box that contains the hpaned. necessary for it to work */
+  LttvPluginTab *ptab;
+  
+  GtkWidget *hbox;
   GtkWidget *toolbar; /* Vbox that contains the viewer's toolbar */
-  GtkWidget *button_prop; /* Properties button. */
+  GtkToolItem *button_prop; /* Properties button. */
+  GtkToolItem *button_filter; /* Properties button. */
+  GtkWidget *box; /* box that contains the hpaned. necessary for it to work */
   GtkWidget *h_paned;
 
   ProcessList *process_list;
@@ -68,11 +71,11 @@ struct _ControlFlowData {
 } ;
 
 /* Control Flow Data constructor */
-ControlFlowData *guicontrolflow(Tab *tab);
+ControlFlowData *guicontrolflow(LttvPluginTab *ptab);
 void
-guicontrolflow_destructor_full(ControlFlowData *control_flow_data);
+guicontrolflow_destructor_full(gpointer data);
 void
-guicontrolflow_destructor(ControlFlowData *control_flow_data);
+guicontrolflow_destructor(gpointer data);
 
 static inline GtkWidget *guicontrolflow_get_widget(
                                      ControlFlowData *control_flow_data)
This page took 0.02325 seconds and 4 git commands to generate.