X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=ltt%2Fbranches%2Fpoly%2Flttv%2Fmodules%2Fgui%2Fcontrolflow%2Fcfv.h;h=5c2276e4ed4d09951511e7e97879a68084bb00fc;hb=5bb606ce8cd5e97fcc9beb6f78bbc157f4b07337;hp=0b2caea19e505de0e4fc9a7a1863707d9d26a8cf;hpb=2c82c4dc9a5a322013842e0bf23008d164f369b6;p=lttv.git diff --git a/ltt/branches/poly/lttv/modules/gui/controlflow/cfv.h b/ltt/branches/poly/lttv/modules/gui/controlflow/cfv.h index 0b2caea1..5c2276e4 100644 --- a/ltt/branches/poly/lttv/modules/gui/controlflow/cfv.h +++ b/ltt/branches/poly/lttv/modules/gui/controlflow/cfv.h @@ -23,11 +23,12 @@ #include #include +#include #include "processlist.h" +#include extern GQuark LTT_NAME_CPU; - #ifndef TYPE_DRAWING_T_DEFINED #define TYPE_DRAWING_T_DEFINED typedef struct _Drawing_t Drawing_t; @@ -42,7 +43,12 @@ struct _ControlFlowData { GtkWidget *top_widget; Tab *tab; - + LttvPluginTab *ptab; + + GtkWidget *hbox; + GtkWidget *toolbar; /* Vbox that contains the viewer's toolbar */ + 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; @@ -50,7 +56,7 @@ struct _ControlFlowData { Drawing_t *drawing; GtkAdjustment *v_adjust ; - + /* Shown events information */ // TimeWindow time_window; // LttTime current_time; @@ -60,15 +66,16 @@ struct _ControlFlowData { guint background_info_waiting; /* Number of background requests waited for in order to have all the info ready. */ -} ; + LttvFilter *filter; +} ; /* Control Flow Data constructor */ -ControlFlowData *guicontrolflow(void); +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)