projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
SignalBase: Add internal name
[pulseview.git]
/
pv
/
data
/
signalbase.hpp
diff --git
a/pv/data/signalbase.hpp
b/pv/data/signalbase.hpp
index a682a56e1f52cadbb60a8a3a1dba9a80e2eacbc2..2b3f2f1cb5a35368c5fefae6cd03e2902c531bbd 100644
(file)
--- a/
pv/data/signalbase.hpp
+++ b/
pv/data/signalbase.hpp
@@
-85,6
+85,11
@@
public:
*/
QString name() const;
*/
QString name() const;
+ /**
+ * Gets the internal name of this signal, i.e. how the device calls it.
+ */
+ QString internal_name() const;
+
/**
* Sets the name of the signal.
*/
/**
* Sets the name of the signal.
*/
@@
-144,7
+149,7
@@
private:
std::shared_ptr<pv::data::DecoderStack> decoder_stack_;
#endif
std::shared_ptr<pv::data::DecoderStack> decoder_stack_;
#endif
- QString name_;
+ QString
internal_name_,
name_;
QColor colour_, bgcolour_;
};
QColor colour_, bgcolour_;
};