X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=pv%2Fdialogs%2Fstoreprogress.hpp;h=f355acc69e2f3b6c8ff35eac2a389d2b93aa56e9;hb=db843aa8f7135deb6e22a92cff9237b7326a40aa;hp=c42566289f83e5e7ee4656a4f6f94b87e6c32f3a;hpb=870ea3dbf35b182e120c5d84ab89bf9cb7691232;p=pulseview.git diff --git a/pv/dialogs/storeprogress.hpp b/pv/dialogs/storeprogress.hpp index c4256628..f355acc6 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; @@ -60,12 +62,14 @@ private: private Q_SLOTS: void on_progress_updated(); + void on_cancel(); private: pv::StoreSession session_; + atomic showing_error_; }; } // namespace dialogs } // namespace pv -#endif // PULSEVIEW_PV_DIALOGS_SAVEPROGRESS_HPP +#endif // PULSEVIEW_PV_DIALOGS_STOREPROGRESS_HPP