]> sigrok.org Git - pulseview.git/blobdiff - pv/device/device.h
Fix double-free issue in File::create
[pulseview.git] / pv / device / device.h
index b9e17297eadd1428945648f683cd3bbcc12642aa..0a908a7962d451034d732cddd88e3abbb6809c93 100644 (file)
@@ -21,6 +21,9 @@
 #ifndef PULSEVIEW_PV_DEVICE_DEVICE_H
 #define PULSEVIEW_PV_DEVICE_DEVICE_H
 
+#include <map>
+#include <string>
+
 #include "devinst.h"
 
 namespace pv {
@@ -39,7 +42,7 @@ public:
 
        std::string format_device_title() const;
 
-       bool is_trigger_enabled() const;
+       std::map<std::string, std::string> get_device_info() const;
 
 private:
        sr_dev_inst *const _sdi;