]> sigrok.org Git - pulseview.git/blobdiff - pv/devices/sessionfile.hpp
devices::Device: Moved in full_name and display_name
[pulseview.git] / pv / devices / sessionfile.hpp
index 0fcaa34cb767b3c3066e28f34d577a33aad42106..a4b69d3e1d1cb8f83402416c858739e5d191c8fb 100644 (file)
@@ -39,6 +39,16 @@ public:
        SessionFile(const std::shared_ptr<sigrok::Context> &context,
                const std::string &file_name);
 
+       /**
+        * Builds the full name. It only contains all the fields.
+        */
+       std::string full_name() const;
+
+       /**
+        * Builds the display name. It only contains fields as required.
+        */
+       std::string display_name(const DeviceManager&) const;
+
        void create();
 
 private: