summaryrefslogtreecommitdiff
path: root/trace_parser.hpp
diff options
context:
space:
mode:
authorZack Rusin <zack@kde.org>2011-08-05 13:43:46 -0400
committerZack Rusin <zack@kde.org>2011-08-06 17:15:18 -0400
commit5ce45e7f614c7540f4d3d4f86db7a499f138d01e (patch)
tree29a2e0821633d5fc32fe52af86aed79eb9e4ae6d /trace_parser.hpp
parenta842652387c6bcaeb5339f77f74fbf5fe0e6e8ec (diff)
Abstract file writing operation into a class of its own.
Allows us to implement different compression, decompression algos.
Diffstat (limited to 'trace_parser.hpp')
-rw-r--r--trace_parser.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/trace_parser.hpp b/trace_parser.hpp
index 0a01051..4fff9ad 100644
--- a/trace_parser.hpp
+++ b/trace_parser.hpp
@@ -36,11 +36,12 @@
namespace Trace {
+class File;
class Parser
{
protected:
- void *file;
+ File *file;
typedef std::list<Call *> CallList;
CallList calls;