]> sigrok.org Git - pulseview.git/blobdiff - pv/mainwindow.hpp
test/CMakeLists.txt: Fix file list, fix -DENABLE_TESTS=y build.
[pulseview.git] / pv / mainwindow.hpp
index eee1d855d072c561e123c935aca1301bb0168c56..8a67c615ca0718ec16e37f8cab203bc087edab5b 100644 (file)
@@ -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();
 
@@ -120,7 +126,7 @@ private:
 
        DeviceManager &device_manager_;
 
-       SigSession session_;
+       Session session_;
 
        pv::view::View *view_;