]> sigrok.org Git - pulseview.git/blobdiff - pv/storesession.hpp
StoreSession: Support output formats other than srzip
[pulseview.git] / pv / storesession.hpp
index ce737f34e3c9bba0ba079589e15daf27f81bf8ea..e6778b5ed94e37d03aeede26cdd4d60a9612bd06 100644 (file)
@@ -24,6 +24,7 @@
 #include <stdint.h>
 
 #include <atomic>
+#include <fstream>
 #include <memory>
 #include <mutex>
 #include <string>
@@ -80,6 +81,7 @@ private:
        const Session &session_;
 
        std::shared_ptr<sigrok::Output> output_;
+       std::ofstream output_stream_;
 
        std::thread thread_;