X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=ltt%2Fbranches%2Fpoly%2Finclude%2Flttv%2FgtkTraceSet.h;h=6dd9ccd4132b40f925daadd16f1f2d1ddcf1c37c;hb=6b1d312011afb06cc4eac46c3a49abdbf9243a48;hp=62aaf2ad4f8f75e0685fe9702cc7ac62723981e2;hpb=b445142a71748192520cfd645b4963e23070a486;p=lttv.git diff --git a/ltt/branches/poly/include/lttv/gtkTraceSet.h b/ltt/branches/poly/include/lttv/gtkTraceSet.h index 62aaf2ad..6dd9ccd4 100644 --- a/ltt/branches/poly/include/lttv/gtkTraceSet.h +++ b/ltt/branches/poly/include/lttv/gtkTraceSet.h @@ -14,6 +14,7 @@ #include #include #include +#include /** * Function to register a view constructor so that main window can generate @@ -378,3 +379,29 @@ void contextRemoveHooks(mainWindow *main_win , */ void getTracesetTimeSpan(mainWindow *main_win, LttTime * start, LttTime* end); + + +/** + * Function to add/remove event hooks for state + * @param main_win the main window the viewer belongs to. + */ + +void stateAddEventHooks(mainWindow *main_win ); +void stateRemoveEventHooks(mainWindow *main_win ); + + +/** + * Function to add/remove event hooks for stats + * @param main_win the main window the viewer belongs to. + */ + +void statsAddEventHooks(mainWindow *main_win ); +void statsRemoveEventHooks(mainWindow *main_win ); + + +/** + * Function to get the stats of the traceset + * @param main_win the main window the viewer belongs to. + */ + +LttvTracesetStats* getTracesetStats(mainWindow *main_win);