]> git.cworth.org Git - apitrace/blobdiff - common/trace_file.hpp
cli: Rename replay -> retrace.
[apitrace] / common / trace_file.hpp
index 411eccb644aff7c9d7a8209dfcdc696d137f8f3d..0c176aabe652c4699a707da6f475ba9973c34372 100644 (file)
 #include <fstream>
 #include <stdint.h>
 
+
+#define SNAPPY_BYTE1 'a'
+#define SNAPPY_BYTE2 't'
+
+
 namespace trace {
 
 class File {
@@ -49,8 +54,6 @@ public:
     };
 
 public:
-    static bool isZLibCompressed(const std::string &filename);
-    static bool isSnappyCompressed(const std::string &filename);
     static File *createZLib(void);
     static File *createSnappy(void);
     static File *createForRead(const char *filename);
@@ -201,6 +204,6 @@ operator<=(const File::Offset &one, const File::Offset &two)
 }
 
 
-}
+} /* namespace trace */
 
 #endif