projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
android: Don't install unneeded Python files.
[pulseview.git]
/
pv
/
popups
/
deviceoptions.cpp
diff --git
a/pv/popups/deviceoptions.cpp
b/pv/popups/deviceoptions.cpp
index 30d5f579422a37517aa689cae30dc1a88fe98262..3d069f799e1f40f9a6066148804c9e73f687109c 100644
(file)
--- a/
pv/popups/deviceoptions.cpp
+++ b/
pv/popups/deviceoptions.cpp
@@
-20,26
+20,35
@@
#include "deviceoptions.h"
#include "deviceoptions.h"
-#include <boost/foreach.hpp>
-
#include <QFormLayout>
#include <QListWidget>
#include <pv/prop/property.h>
#include <QFormLayout>
#include <QListWidget>
#include <pv/prop/property.h>
+#include <libsigrok/libsigrok.hpp>
+
+using std::shared_ptr;
+
+using sigrok::Device;
+
namespace pv {
namespace popups {
namespace pv {
namespace popups {
-DeviceOptions::DeviceOptions(s
r_dev_inst *sdi
, QWidget *parent) :
+DeviceOptions::DeviceOptions(s
hared_ptr<Device> device
, QWidget *parent) :
Popup(parent),
Popup(parent),
- _
sdi(sdi
),
+ _
device(device
),
_layout(this),
_layout(this),
- _binding(
sdi
)
+ _binding(
device
)
{
setLayout(&_layout);
_layout.addWidget(_binding.get_property_form(this, true));
}
{
setLayout(&_layout);
_layout.addWidget(_binding.get_property_form(this, true));
}
+pv::prop::binding::DeviceOptions& DeviceOptions::binding()
+{
+ return _binding;
+}
+
} // namespace popups
} // namespace pv
} // namespace popups
} // namespace pv