X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fdevicemanager.hpp;h=d0d11cbd4d7095bcf7f1b3fede305bd83a8a711e;hp=8bceed34ff409d7a1a7769d0ad2c9c7fcf6a1f4f;hb=956a945e4d42d0d7718e6f1364d567f5e25ebf49;hpb=da30ecb7e72bd2547e524258efa5ec642988b70b diff --git a/pv/devicemanager.hpp b/pv/devicemanager.hpp index 8bceed34..d0d11cbd 100644 --- a/pv/devicemanager.hpp +++ b/pv/devicemanager.hpp @@ -50,7 +50,7 @@ class DeviceManager public: DeviceManager(std::shared_ptr context); - ~DeviceManager(); + ~DeviceManager() = default; const std::shared_ptr& context() const; @@ -69,15 +69,6 @@ public: const std::shared_ptr find_device_from_info( const std::map search_info); - void build_display_name(std::shared_ptr device); - - const std::string get_display_name( - std::shared_ptr dev); - - const std::string get_full_name(std::shared_ptr dev); - - void update_display_name(std::shared_ptr dev); - private: bool compare_devices(std::shared_ptr a, std::shared_ptr b); @@ -85,9 +76,6 @@ private: protected: std::shared_ptr context_; std::list< std::shared_ptr > devices_; - - std::map< std::shared_ptr, std::string > display_names_; - std::map< std::shared_ptr, std::string > full_names_; }; } // namespace pv