projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
MainWindow: Handle device selection failure
[pulseview.git]
/
pv
/
mainwindow.hpp
diff --git
a/pv/mainwindow.hpp
b/pv/mainwindow.hpp
index c7859d0a4cb43ec9f7256d8fcdaf5153c4e931a6..8a67c615ca0718ec16e37f8cab203bc087edab5b 100644
(file)
--- a/
pv/mainwindow.hpp
+++ b/
pv/mainwindow.hpp
@@
-32,6
+32,10
@@
struct srd_decoder;
class QVBoxLayout;
+namespace sigrok {
+class Device;
+}
+
namespace pv {
class DeviceManager;
@@
-60,6
+64,8
@@
public:
void run_stop();
+ void select_device(std::shared_ptr<sigrok::Device> device);
+
private:
void setup_ui();