]> git.cworth.org Git - apitrace/blobdiff - common/trace_parser.hpp
Merge branch 'profile-gui'
[apitrace] / common / trace_parser.hpp
index d8c5915ea3d8e3976c1b2d38e33d8e8f57a21d53..0ae3a28d682b80ad6034e1c8daa88fec91362064 100644 (file)
@@ -33,6 +33,7 @@
 #include "trace_file.hpp"
 #include "trace_format.hpp"
 #include "trace_model.hpp"
+#include "trace_api.hpp"
 
 
 namespace trace {
@@ -94,6 +95,7 @@ protected:
 
 public:
     unsigned long long version;
+    API api;
 
     Parser();
 
@@ -193,6 +195,9 @@ protected:
     Value *parse_opaque();
     void scan_opaque();
 
+    Value *parse_repr();
+    void scan_repr();
+
     const char * read_string(void);
     void skip_string(void);