projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix #include guards.
[pulseview.git]
/
pv
/
signal.h
diff --git
a/pv/signal.h
b/pv/signal.h
index b4c4244ca3fc438f7a71441bfc0a7de80fec0674..789b43601deff51dbe36c477a24b0c79f3df7b15 100644
(file)
--- a/
pv/signal.h
+++ b/
pv/signal.h
@@
-18,6
+18,9
@@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#ifndef PULSEVIEW_PV_SIGNAL_H
+#define PULSEVIEW_PV_SIGNAL_H
+
#include <boost/shared_ptr.hpp>
#include <QPainter>
#include <boost/shared_ptr.hpp>
#include <QPainter>
@@
-40,8
+43,16
@@
protected:
Signal(QString name);
public:
Signal(QString name);
public:
+ /**
+ * Gets the name of this signal.
+ */
QString get_name() const;
QString get_name() const;
+ /**
+ * Sets the name of the signal.
+ */
+ void set_name(QString name);
+
/**
* Paints the signal with a QPainter
* @param p the QPainter to paint into.
/**
* Paints the signal with a QPainter
* @param p the QPainter to paint into.
@@
-103,3
+114,5
@@
protected:
};
} // namespace pv
};
} // namespace pv
+
+#endif // PULSEVIEW_PV_SIGNAL_H