- struct sr_dev_inst* get_selected_device() const;
- void set_selected_device(struct sr_dev_inst *const sdi);
+ boost::shared_ptr<pv::device::DevInst> get_selected_device() const;
+ void set_selected_device(
+ boost::shared_ptr<pv::device::DevInst> dev_inst);