projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Moved DevInst into the pv::device namespace
[pulseview.git]
/
pv
/
mainwindow.h
diff --git
a/pv/mainwindow.h
b/pv/mainwindow.h
index d5ac35ee92c68fc92dcf14651efa91167702a6d9..1acaf07227c7b8bd86a08d20ebda97e824f4115a 100644
(file)
--- a/
pv/mainwindow.h
+++ b/
pv/mainwindow.h
@@
-37,6
+37,10
@@
namespace pv {
class DeviceManager;
class DeviceManager;
+namespace device {
+class DevInst;
+}
+
namespace toolbars {
class ContextBar;
class SamplingBar;
namespace toolbars {
class ContextBar;
class SamplingBar;
@@
-71,7
+75,8
@@
private:
* first device in the device list should be selected.
*/
void update_device_list(
* first device in the device list should be selected.
*/
void update_device_list(
- struct sr_dev_inst *selected_device = NULL);
+ boost::shared_ptr<pv::device::DevInst> selected_device =
+ boost::shared_ptr<pv::device::DevInst>());
private slots:
void load_file(QString file_name);
private slots:
void load_file(QString file_name);
@@
-81,6
+86,7
@@
private slots:
const QString text, const QString info_text);
void on_actionOpen_triggered();
const QString text, const QString info_text);
void on_actionOpen_triggered();
+ void on_actionSaveAs_triggered();
void on_actionQuit_triggered();
void on_actionConnect_triggered();
void on_actionQuit_triggered();
void on_actionConnect_triggered();