- 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_;