X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=pv%2Fdialogs%2Fconnect.h;h=0f272cae73a6eb8e0d94b5cf7fe3ee296896acee;hb=1b1dbb9158e2dfb6814517583de9015c94f28b1a;hp=257efd359b860da1f721dc9a9c9aba0454d40750;hpb=107ca6d350b51186d12dac9273f6ed130b3f5dd7;p=pulseview.git diff --git a/pv/dialogs/connect.h b/pv/dialogs/connect.h index 257efd3..0f272ca 100644 --- a/pv/dialogs/connect.h +++ b/pv/dialogs/connect.h @@ -21,6 +21,8 @@ #ifndef PULSEVIEW_PV_CONNECT_H #define PULSEVIEW_PV_CONNECT_H +#include + #include #include #include @@ -36,6 +38,7 @@ struct sr_dev_inst; namespace pv { class DeviceManager; +class DevInst; namespace dialogs { @@ -46,7 +49,7 @@ class Connect : public QDialog public: Connect(QWidget *parent, pv::DeviceManager &device_manager); - struct sr_dev_inst* get_selected_device() const; + boost::shared_ptr get_selected_device() const; private: void populate_drivers(); @@ -77,6 +80,8 @@ private: QPushButton _scan_button; QListWidget _device_list; + std::map > + _device_map; QDialogButtonBox _button_box; };