X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=pv%2Fmainwindow.h;h=41c55ba5ca9c11f2d6282c497831c9ad83985d4f;hb=7db87de3cf2079f49ad395fba3a0b16f2b0f8ce5;hp=1f9dd528af7a22d152adace7342cb827882197da;hpb=d873f4d685e16c708a15fcde12fbbec66650511c;p=pulseview.git diff --git a/pv/mainwindow.h b/pv/mainwindow.h index 1f9dd528..41c55ba5 100644 --- a/pv/mainwindow.h +++ b/pv/mainwindow.h @@ -22,8 +22,7 @@ #define PULSEVIEW_PV_MAINWINDOW_H #include - -#include +#include #include @@ -73,7 +72,7 @@ private: */ void update_device_list(); -private slots: +private Q_SLOTS: void load_file(QString file_name); @@ -105,6 +104,18 @@ private slots: void capture_state_changed(int state); private: + /** + * Name of the setting used to remember the directory + * containing the last file that was opened. + */ + static const char *SettingOpenDirectory; + + /** + * Name of the setting used to remember the directory + * containing the last file that was saved. + */ + static const char *SettingSaveDirectory; + DeviceManager &_device_manager; SigSession _session;