]> sigrok.org Git - pulseview.git/blobdiff - pv/devices/inputfile.hpp
InputFile: Don't try to create device twice
[pulseview.git] / pv / devices / inputfile.hpp
index 9b9aee88dcbad288f12642397a6b6921d9e83a29..02d4417c99e8af4bb95260e082e543b354bdccdb 100644 (file)
@@ -53,7 +53,9 @@ public:
 
 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::atomic<bool> interrupt_;
 };