- struct sr_context *const _sr_ctx;
- std::list< boost::shared_ptr<pv::device::DevInst> > _devices;
- std::map< boost::shared_ptr<pv::device::DevInst>, pv::SigSession*>
- _used_devices;
+ bool compare_devices(std::shared_ptr<sigrok::Device> a,
+ std::shared_ptr<sigrok::Device> b);
+
+protected:
+ std::shared_ptr<sigrok::Context> _context;
+ std::list< std::shared_ptr<sigrok::HardwareDevice> > _devices;
+ std::map< std::shared_ptr<sigrok::Device>, std::string > _display_names;