]> git.cworth.org Git - apitrace/blobdiff - trace_writer.hpp
Automatically detect whether trace is zlib or snappy compressed
[apitrace] / trace_writer.hpp
index 9d07150055140bb941333bd2a4d05bdb8a4f0171..eb81f233f604bef706d1149d867d13ef1748e2fc 100644 (file)
 
 
 namespace Trace {
+    class File;
 
     class Writer {
     protected:
-        void *g_gzFile;
+        File *m_file;
         unsigned call_no;
 
         std::vector<bool> functions;
@@ -93,6 +94,8 @@ namespace Trace {
         void writeNull(void);
         void writeOpaque(const void *ptr);
 
+        void writeCall(Call *call);
+
     protected:
         void inline _write(const void *sBuffer, size_t dwBytesToWrite);
         void inline _writeByte(char c);