X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fstoresession.hpp;h=e6778b5ed94e37d03aeede26cdd4d60a9612bd06;hp=9094ca12eb154ffb5f51ea5efb593c6fabd452c9;hb=c1035a1452fa2aec5414975e83e531c10504b80c;hpb=f3d66e52ed6b454ea7a0662d5e6367e230116a2b diff --git a/pv/storesession.hpp b/pv/storesession.hpp index 9094ca12..e6778b5e 100644 --- a/pv/storesession.hpp +++ b/pv/storesession.hpp @@ -24,6 +24,8 @@ #include #include +#include +#include #include #include #include @@ -32,6 +34,7 @@ namespace sigrok { class Output; +class OutputFormat; } namespace pv { @@ -51,6 +54,7 @@ private: public: StoreSession(const std::string &file_name, + const std::shared_ptr &output_format, const Session &session); ~StoreSession(); @@ -73,9 +77,11 @@ Q_SIGNALS: private: const std::string file_name_; + const std::shared_ptr output_format_; const Session &session_; std::shared_ptr output_; + std::ofstream output_stream_; std::thread thread_;