X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fstoresession.hpp;h=9f31d59a7920c93d6252dba98acf0eee8fcef0d9;hp=9094ca12eb154ffb5f51ea5efb593c6fabd452c9;hb=7c6cbdda4d7beaaf41c752826091b407a203df51;hpb=f3d66e52ed6b454ea7a0662d5e6367e230116a2b diff --git a/pv/storesession.hpp b/pv/storesession.hpp index 9094ca12..9f31d59a 100644 --- a/pv/storesession.hpp +++ b/pv/storesession.hpp @@ -18,20 +18,26 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ -#ifndef PULSEVIEW_PV_STORESESSION_H -#define PULSEVIEW_PV_STORESESSION_H +#ifndef PULSEVIEW_PV_STORESESSION_HPP +#define PULSEVIEW_PV_STORESESSION_HPP #include #include +#include +#include +#include #include #include #include +#include + #include namespace sigrok { class Output; +class OutputFormat; } namespace pv { @@ -51,6 +57,8 @@ private: public: StoreSession(const std::string &file_name, + const std::shared_ptr &output_format, + const std::map &options, const Session &session); ~StoreSession(); @@ -73,9 +81,12 @@ Q_SIGNALS: private: const std::string file_name_; + const std::shared_ptr output_format_; + const std::map options_; const Session &session_; std::shared_ptr output_; + std::ofstream output_stream_; std::thread thread_; @@ -89,4 +100,4 @@ private: } // pv -#endif // PULSEVIEW_PV_STORESESSION_H +#endif // PULSEVIEW_PV_STORESESSION_HPP