X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=pv%2Fmainwindow.h;h=1acaf07227c7b8bd86a08d20ebda97e824f4115a;hb=996b7c9da9b5cb56413e829217e1e7d7d7d520da;hp=6f352f9f2cbcab545fd0980af1a215ddaad05f6a;hpb=0fbda3c2dda9357776afa15e99c037eb0cc97214;p=pulseview.git diff --git a/pv/mainwindow.h b/pv/mainwindow.h index 6f352f9f..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);