X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=pv%2Fdialogs%2Fstoreprogress.hpp;h=fd3558993ced162e12f0505c2f3ab0abd8ee4796;hb=e23d7aa0d9980c3c269cbddb4cfbb32350d7425c;hp=37916420674aa9a43b7c1680e0258cf1d5f70d24;hpb=d2fc6be9af3ba409032da6dcabc4630c657bb56c;p=pulseview.git diff --git a/pv/dialogs/storeprogress.hpp b/pv/dialogs/storeprogress.hpp index 37916420..fd355899 100644 --- a/pv/dialogs/storeprogress.hpp +++ b/pv/dialogs/storeprogress.hpp @@ -14,12 +14,11 @@ * 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 . */ -#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 @@ -28,6 +27,11 @@ #include +using std::map; +using std::pair; +using std::shared_ptr; +using std::string; + namespace pv { class Session; @@ -40,11 +44,10 @@ class StoreProgress : public QProgressDialog public: StoreProgress(const QString &file_name, - const std::shared_ptr output_format, - const std::map &options, - const std::pair sample_range, - const Session &session, - QWidget *parent = 0); + const shared_ptr output_format, + const map &options, + const pair sample_range, + const Session &session, QWidget *parent = nullptr); virtual ~StoreProgress(); @@ -62,7 +65,7 @@ private: pv::StoreSession session_; }; -} // dialogs -} // pv +} // namespace dialogs +} // namespace pv -#endif // PULSEVIEW_PV_DIALOGS_SAVEPROGRESS_HPP +#endif // PULSEVIEW_PV_DIALOGS_STOREPROGRESS_HPP