]> sigrok.org Git - pulseview.git/blobdiff - pv/mainwindow.h
Pass new unit_size argument to srd_inst_probe_set_all()
[pulseview.git] / pv / mainwindow.h
index d5ac35ee92c68fc92dcf14651efa91167702a6d9..6f3c8d56344d601d90628578ac1da419ac3f7e71 100644 (file)
@@ -36,6 +36,7 @@ class QVBoxLayout;
 namespace pv {
 
 class DeviceManager;
+class DevInst;
 
 namespace toolbars {
 class ContextBar;
@@ -71,7 +72,8 @@ private:
         * first device in the device list should be selected.
         */
        void update_device_list(
-               struct sr_dev_inst *selected_device = NULL);
+               boost::shared_ptr<pv::DevInst> selected_device =
+                       boost::shared_ptr<pv::DevInst>());
 
 private slots:
        void load_file(QString file_name);
@@ -81,6 +83,7 @@ private slots:
                const QString text, const QString info_text);
 
        void on_actionOpen_triggered();
+       void on_actionSaveAs_triggered();
        void on_actionQuit_triggered();
 
        void on_actionConnect_triggered();