X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fmainwindow.hpp;h=35cad3ab2890993f13c30afc95fa956ef7775548;hp=c7859d0a4cb43ec9f7256d8fcdaf5153c4e931a6;hb=f65cd27bdbf70644052dd43dac4bbe9403f4dfee;hpb=2b81ae4682ade4109ffa442794de36ceb32045eb diff --git a/pv/mainwindow.hpp b/pv/mainwindow.hpp index c7859d0a..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();