X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=ltt%2Fbranches%2Fpoly%2Flttv%2Fmodules%2Fgui%2Fcontrolflow%2Fcfv.h;h=5c2276e4ed4d09951511e7e97879a68084bb00fc;hb=2dd5f7c525c94774d24360dc8f7dbbc015127568;hp=d9a144021789409876bb5b8f8a5ad7bbc953068c;hpb=e8d11122b46e7e2922e65825623c760f84a4d34f;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 d9a14402..5c2276e4 100644 --- a/ltt/branches/poly/lttv/modules/gui/controlflow/cfv.h +++ b/ltt/branches/poly/lttv/modules/gui/controlflow/cfv.h @@ -23,8 +23,11 @@ #include #include +#include #include "processlist.h" +#include +extern GQuark LTT_NAME_CPU; #ifndef TYPE_DRAWING_T_DEFINED #define TYPE_DRAWING_T_DEFINED @@ -40,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; @@ -48,7 +56,7 @@ struct _ControlFlowData { Drawing_t *drawing; GtkAdjustment *v_adjust ; - + /* Shown events information */ // TimeWindow time_window; // LttTime current_time; @@ -58,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)