X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=pv%2Fstoresession.hpp;h=6a081801573491e8a626b9a90107ef68bff90a89;hb=d2fc6be9af3ba409032da6dcabc4630c657bb56c;hp=e6778b5ed94e37d03aeede26cdd4d60a9612bd06;hpb=c1035a1452fa2aec5414975e83e531c10504b80c;p=pulseview.git diff --git a/pv/storesession.hpp b/pv/storesession.hpp index e6778b5..6a08180 100644 --- a/pv/storesession.hpp +++ b/pv/storesession.hpp @@ -18,18 +18,21 @@ * 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 { @@ -55,6 +58,8 @@ private: public: StoreSession(const std::string &file_name, const std::shared_ptr &output_format, + const std::map &options, + const std::pair sample_range, const Session &session); ~StoreSession(); @@ -78,6 +83,8 @@ Q_SIGNALS: private: const std::string file_name_; const std::shared_ptr output_format_; + const std::map options_; + const std::pair sample_range_; const Session &session_; std::shared_ptr output_; @@ -91,8 +98,10 @@ private: mutable std::mutex mutex_; QString error_; + + uint64_t start_sample_, sample_count_; }; } // pv -#endif // PULSEVIEW_PV_STORESESSION_H +#endif // PULSEVIEW_PV_STORESESSION_HPP