projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added DevInst pointer to Signal
[pulseview.git]
/
pv
/
view
/
signal.h
diff --git
a/pv/view/signal.h
b/pv/view/signal.h
index bdbd27a35f1b9554cde55dd75b1a441f0b1619b8..70b908b1030efe928bcc011fd244998cbf94e305 100644
(file)
--- a/
pv/view/signal.h
+++ b/
pv/view/signal.h
@@
-28,12
+28,14
@@
#include <stdint.h>
#include <stdint.h>
-#include <libsigrok/libsigrok.h>
-
#include "trace.h"
#include "trace.h"
+struct sr_probe;
+
namespace pv {
namespace pv {
+class DevInst;
+
namespace data {
class SignalData;
}
namespace data {
class SignalData;
}
@@
-45,7
+47,8
@@
class Signal : public Trace
Q_OBJECT
protected:
Q_OBJECT
protected:
- Signal(pv::SigSession &session, sr_probe *const probe);
+ Signal(pv::SigSession &session, boost::shared_ptr<pv::DevInst> dev_inst,
+ sr_probe *const probe);
public:
/**
public:
/**
@@
-74,6
+77,7
@@
private slots:
void on_disable();
protected:
void on_disable();
protected:
+ boost::shared_ptr<pv::DevInst> _dev_inst;
sr_probe *const _probe;
QComboBox *_name_widget;
sr_probe *const _probe;
QComboBox *_name_widget;