]> git.cworth.org Git - apitrace/blobdiff - gui/apitracecall.h
Fix and cleanup state lookups on frames.
[apitrace] / gui / apitracecall.h
index d30bf1db22bf30843689a7241d935f9118ee292b..572b302b643ab23957cdf79c9851b19fdc0e0367 100644 (file)
@@ -331,12 +331,16 @@ public:
 
     bool loaded() const;
     void setLoaded(bool l);
+
+    void setLastCallIndex(unsigned index);
+    unsigned lastCallIndex() const;
 private:
     ApiTrace *m_parentTrace;
     quint64 m_binaryDataSize;
     QVector<ApiTraceCall*> m_calls;
     bool m_loaded;
     unsigned m_callsToLoad;
+    unsigned m_lastCallIndex;
 };
 Q_DECLARE_METATYPE(ApiTraceFrame*);