X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=gui%2Fmainwindow.h;h=59c9ba78010f6bcd0e0ab9a5f2b43d4d19062daf;hb=a5b476eb4eed9b06e22f4a80b16251aea243207d;hp=3fde4c60060b95ed609c3a05b482b481c96d3abf;hpb=ad513b3f5f6e3b1e460d9cf77479715cc05319b4;p=apitrace diff --git a/gui/mainwindow.h b/gui/mainwindow.h index 3fde4c6..59c9ba7 100644 --- a/gui/mainwindow.h +++ b/gui/mainwindow.h @@ -3,6 +3,7 @@ #include "ui_mainwindow.h" +#include "trace_api.hpp" #include "apitrace.h" #include @@ -36,7 +37,7 @@ public: ~MainWindow(); public slots: - void loadTrace(const QString &fileName); + void loadTrace(const QString &fileName, int callNum = -1); private slots: void callItemSelected(const QModelIndex &index); @@ -101,9 +102,12 @@ private: Ui_MainWindow m_ui; ShadersSourceWidget *m_sourcesWidget; + trace::API m_api; + ApiTrace *m_trace; ApiTraceModel *m_model; ApiTraceFilter *m_proxyModel; + int m_initalCallNum; QProgressBar *m_progressBar;