]> sigrok.org Git - pulseview.git/blobdiff - pv/dialogs/storeprogress.hpp
Use nullptr in a few places.
[pulseview.git] / pv / dialogs / storeprogress.hpp
index ca14dfb21182b4846707b5f29fbfe9f8b1b24f4b..48e1239dd033ba648a8caaa2f2280668f7e5cf56 100644 (file)
  * 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_H
-#define PULSEVIEW_PV_DIALOGS_SAVEPROGRESS_H
+#ifndef PULSEVIEW_PV_DIALOGS_SAVEPROGRESS_HPP
+#define PULSEVIEW_PV_DIALOGS_SAVEPROGRESS_HPP
 
 #include <memory>
 #include <set>
 
 #include <pv/storesession.hpp>
 
+using std::map;
+using std::pair;
+using std::shared_ptr;
+using std::string;
+
 namespace pv {
 
-class SigSession;
+class Session;
 
 namespace dialogs {
 
@@ -39,8 +43,12 @@ class StoreProgress : public QProgressDialog
        Q_OBJECT
 
 public:
-       StoreProgress(const QString &file_name, const SigSession &session,
-               QWidget *parent = 0);
+       StoreProgress(const QString &file_name,
+               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();
 
@@ -61,4 +69,4 @@ private:
 } // dialogs
 } // pv
 
-#endif // PULSEVIEW_PV_DIALOGS_SAVEPROGRESS_H
+#endif // PULSEVIEW_PV_DIALOGS_SAVEPROGRESS_HPP