projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Made Decoder dialog export a map of probes, and routed through to pv::data::Decoder
[pulseview.git]
/
pv
/
sigsession.h
diff --git
a/pv/sigsession.h
b/pv/sigsession.h
index 50768e6caf037152aafc62cf21ebae4799c4fb83..4ce6131d4bd39f9a7daf09c43e3b2044aa290df9 100644
(file)
--- a/
pv/sigsession.h
+++ b/
pv/sigsession.h
@@
-25,6
+25,7
@@
#include <boost/shared_ptr.hpp>
#include <boost/thread.hpp>
#include <boost/shared_ptr.hpp>
#include <boost/thread.hpp>
+#include <map>
#include <string>
#include <utility>
#include <vector>
#include <string>
#include <utility>
#include <vector>
@@
-35,6
+36,7
@@
#include <libsigrok/libsigrok.h>
struct srd_decoder;
#include <libsigrok/libsigrok.h>
struct srd_decoder;
+struct srd_probe;
namespace pv {
namespace pv {
@@
-92,7
+94,9
@@
public:
boost::shared_ptr<data::Logic> get_data();
boost::shared_ptr<data::Logic> get_data();
- void add_decoder(srd_decoder *const dec);
+ void add_decoder(srd_decoder *const dec,
+ std::map<const srd_probe*,
+ boost::shared_ptr<view::Signal> > probes);
private:
void set_capture_state(capture_state state);
private:
void set_capture_state(capture_state state);