X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=pv%2Fdialogs%2Fstoreprogress.hpp;h=730a9e423d9a51aec37d2b9177106288202770fe;hb=c3c07a5f4bed7fea98ad07ca1cce34c9e5409f0b;hp=b54eb47f10a3a28ff5171ca60d0afe2b3175df50;hpb=6f925ba9d6faf1077b73c5a5808259576081716a;p=pulseview.git diff --git a/pv/dialogs/storeprogress.hpp b/pv/dialogs/storeprogress.hpp index b54eb47f..730a9e42 100644 --- a/pv/dialogs/storeprogress.hpp +++ b/pv/dialogs/storeprogress.hpp @@ -17,9 +17,10 @@ * along with this program; if not, see . */ -#ifndef PULSEVIEW_PV_DIALOGS_SAVEPROGRESS_HPP -#define PULSEVIEW_PV_DIALOGS_SAVEPROGRESS_HPP +#ifndef PULSEVIEW_PV_DIALOGS_STOREPROGRESS_HPP +#define PULSEVIEW_PV_DIALOGS_STOREPROGRESS_HPP +#include #include #include @@ -27,6 +28,7 @@ #include +using std::atomic; using std::map; using std::pair; using std::shared_ptr; @@ -47,8 +49,7 @@ public: const shared_ptr output_format, const map &options, const pair sample_range, - const Session &session, - QWidget *parent = 0); + const Session &session, QWidget *parent = nullptr); virtual ~StoreProgress(); @@ -64,9 +65,10 @@ private Q_SLOTS: private: pv::StoreSession session_; + atomic showing_error_; }; -} // dialogs -} // pv +} // namespace dialogs +} // namespace pv -#endif // PULSEVIEW_PV_DIALOGS_SAVEPROGRESS_HPP +#endif // PULSEVIEW_PV_DIALOGS_STOREPROGRESS_HPP