X-Git-Url: http://git.code-monkey.de/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fdevicemanager.h;h=ca86a7fe9c15c69f727ccbf3b04711a8650e8250;hp=acef8a42d93ba2b1f1d1f5475717ab3a97557079;hb=f9abf97e78bc4825d80926b0ebc6cbaef40768b1;hpb=d9aecf1fcd9af471db3b59de7efc65b9632a6d79 diff --git a/pv/devicemanager.h b/pv/devicemanager.h index acef8a4..ca86a7f 100644 --- a/pv/devicemanager.h +++ b/pv/devicemanager.h @@ -24,10 +24,9 @@ #include #include +#include #include -#include - struct sr_context; struct sr_dev_driver; @@ -46,10 +45,10 @@ public: ~DeviceManager(); - const std::list< boost::shared_ptr >& + const std::list< std::shared_ptr >& devices() const; - std::list< boost::shared_ptr > driver_scan( + std::list< std::shared_ptr > driver_scan( struct sr_dev_driver *const driver, GSList *const drvopts = NULL); @@ -62,12 +61,12 @@ private: void release_driver(struct sr_dev_driver *const driver); - static bool compare_devices(boost::shared_ptr a, - boost::shared_ptr b); + static bool compare_devices(std::shared_ptr a, + std::shared_ptr b); private: struct sr_context *const _sr_ctx; - std::list< boost::shared_ptr > _devices; + std::list< std::shared_ptr > _devices; }; } // namespace pv