X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=pv%2Fmainwindow.h;h=1acaf07227c7b8bd86a08d20ebda97e824f4115a;hb=996b7c9da9b5cb56413e829217e1e7d7d7d520da;hp=d5ac35ee92c68fc92dcf14651efa91167702a6d9;hpb=269528f55e7fd77f762c2008d257921cd30e1519;p=pulseview.git diff --git a/pv/mainwindow.h b/pv/mainwindow.h index d5ac35ee..1acaf072 100644 --- a/pv/mainwindow.h +++ b/pv/mainwindow.h @@ -37,6 +37,10 @@ namespace pv { class DeviceManager; +namespace device { +class DevInst; +} + namespace toolbars { class ContextBar; class SamplingBar; @@ -71,7 +75,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 selected_device = + boost::shared_ptr()); private slots: void load_file(QString file_name); @@ -81,6 +86,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();