X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fmainwindow.hpp;h=35cad3ab2890993f13c30afc95fa956ef7775548;hp=eee1d855d072c561e123c935aca1301bb0168c56;hb=f3d66e52ed6b454ea7a0662d5e6367e230116a2b;hpb=4e7f5ba834f5bafd9fb5c7a6edb30748b2f93c59 diff --git a/pv/mainwindow.hpp b/pv/mainwindow.hpp index eee1d855..35cad3ab 100644 --- a/pv/mainwindow.hpp +++ b/pv/mainwindow.hpp @@ -26,12 +26,16 @@ #include -#include "sigsession.hpp" +#include "session.hpp" 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 device); + private: void setup_ui(); @@ -120,7 +126,7 @@ private: DeviceManager &device_manager_; - SigSession session_; + Session session_; pv::view::View *view_;