projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Implement MainWindow::add_view()
[pulseview.git]
/
pv
/
mainwindow.hpp
diff --git
a/pv/mainwindow.hpp
b/pv/mainwindow.hpp
index 1ab3c589e615bc1251ddf351d924634f92a0b6d8..91a0bc5d69d971076f8191b01f9d53316864acfc 100644
(file)
--- a/
pv/mainwindow.hpp
+++ b/
pv/mainwindow.hpp
@@
-30,6
+30,7
@@
#include <QMainWindow>
#include "session.hpp"
#include <QMainWindow>
#include "session.hpp"
+#include "view/viewwidget.hpp"
struct srd_decoder;
struct srd_decoder;
@@
-102,6
+103,9
@@
public:
std::shared_ptr<pv::view::View> get_active_view() const;
std::shared_ptr<pv::view::View> get_active_view() const;
+ std::shared_ptr<pv::view::View> add_view(const QString &title,
+ view::ViewType type, Session &session);
+
void run_stop();
void select_device(std::shared_ptr<devices::Device> device);
void run_stop();
void select_device(std::shared_ptr<devices::Device> device);