#include <QMainWindow>
-#include "sigsession.hpp"
+#include "session.hpp"
struct srd_decoder;
class QVBoxLayout;
+namespace sigrok {
+class Device;
+}
+
namespace pv {
class DeviceManager;
const char *open_file_name = NULL,
QWidget *parent = 0);
+ void run_stop();
+
+ void select_device(std::shared_ptr<sigrok::Device> device);
+
private:
void setup_ui();
void add_decoder(srd_decoder *decoder);
- void run_stop();
-
void capture_state_changed(int state);
+ void device_selected();
private:
/**
DeviceManager &device_manager_;
- SigSession session_;
+ Session session_;
pv::view::View *view_;