projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
devices::Device: Moved in full_name and display_name
[pulseview.git]
/
pv
/
devices
/
sessionfile.hpp
diff --git
a/pv/devices/sessionfile.hpp
b/pv/devices/sessionfile.hpp
index 0fcaa34cb767b3c3066e28f34d577a33aad42106..a4b69d3e1d1cb8f83402416c858739e5d191c8fb 100644
(file)
--- a/
pv/devices/sessionfile.hpp
+++ b/
pv/devices/sessionfile.hpp
@@
-39,6
+39,16
@@
public:
SessionFile(const std::shared_ptr<sigrok::Context> &context,
const std::string &file_name);
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:
void create();
private: