projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Revert back to the default device if a session file failed to load
[pulseview.git]
/
pv
/
sigsession.h
diff --git
a/pv/sigsession.h
b/pv/sigsession.h
index 6a8da068cde4fbd1d795cf2ebd6a39f4e214d04e..5953902df02750714df9dc944bd0b802439d49b7 100644
(file)
--- a/
pv/sigsession.h
+++ b/
pv/sigsession.h
@@
-87,6
+87,8
@@
public:
void set_file(const std::string &name)
throw(QString);
void set_file(const std::string &name)
throw(QString);
+ void set_default_device();
+
void release_device(device::DevInst *dev_inst);
capture_state get_capture_state() const;
void release_device(device::DevInst *dev_inst);
capture_state get_capture_state() const;
@@
-114,8
+116,6
@@
private:
void update_signals(boost::shared_ptr<device::DevInst> dev_inst);
void update_signals(boost::shared_ptr<device::DevInst> dev_inst);
- void set_default_device();
-
boost::shared_ptr<view::Signal> signal_from_probe(
const sr_probe *probe) const;
boost::shared_ptr<view::Signal> signal_from_probe(
const sr_probe *probe) const;
@@
-188,7
+188,9
@@
signals:
void frame_began();
void frame_began();
- void data_updated();
+ void data_received();
+
+ void frame_ended();
private:
// TODO: This should not be necessary. Multiple concurrent
private:
// TODO: This should not be necessary. Multiple concurrent