]> sigrok.org Git - pulseview.git/blobdiff - pv/devices/inputfile.hpp
InputFile: Use new reset() function to allow re-reading file
[pulseview.git] / pv / devices / inputfile.hpp
index 9b9aee88dcbad288f12642397a6b6921d9e83a29..e6b57033a02720b31aac2e52dadda5d8262a563e 100644 (file)
@@ -53,8 +53,11 @@ public:
 
 private:
        const std::shared_ptr<sigrok::Context> context_;
 
 private:
        const std::shared_ptr<sigrok::Context> context_;
-       const std::shared_ptr<sigrok::Input> input_;
+       const std::shared_ptr<sigrok::InputFormat> format_;
+       const std::map<std::string, Glib::VariantBase> options_;
+       std::shared_ptr<sigrok::Input> input_;
 
 
+       std::ifstream *f;
        std::atomic<bool> interrupt_;
 };
 
        std::atomic<bool> interrupt_;
 };