]> sigrok.org Git - pulseview.git/blobdiff - pv/dialogs/storeprogress.hpp
DecodeSignal: Re-set decoder metadata after stack termination
[pulseview.git] / pv / dialogs / storeprogress.hpp
index 19aef14a0e5bcb504813ccee9134b434ec73a217..c42566289f83e5e7ee4656a4f6f94b87e6c32f3a 100644 (file)
@@ -14,8 +14,7 @@
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
+ * along with this program; if not, see <http://www.gnu.org/licenses/>.
  */
 
 #ifndef PULSEVIEW_PV_DIALOGS_SAVEPROGRESS_HPP
 
 #include <pv/storesession.hpp>
 
+using std::map;
+using std::pair;
+using std::shared_ptr;
+using std::string;
+
 namespace pv {
 
 class Session;
@@ -40,9 +44,10 @@ class StoreProgress : public QProgressDialog
 
 public:
        StoreProgress(const QString &file_name,
-               const std::shared_ptr<sigrok::OutputFormat> output_format,
-               const std::map<std::string, Glib::VariantBase> &options,
-               const Session &session, QWidget *parent = 0);
+               const shared_ptr<sigrok::OutputFormat> output_format,
+               const map<string, Glib::VariantBase> &options,
+               const pair<uint64_t, uint64_t> sample_range,
+               const Session &session, QWidget *parent = nullptr);
 
        virtual ~StoreProgress();
 
@@ -60,7 +65,7 @@ private:
        pv::StoreSession session_;
 };
 
-} // dialogs
-} // pv
+}  // namespace dialogs
+}  // namespace pv
 
 #endif // PULSEVIEW_PV_DIALOGS_SAVEPROGRESS_HPP