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