projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
memaccess.cmake: Use STATUS instead of WARNING for output.
[pulseview.git]
/
pv
/
popups
/
deviceoptions.cpp
diff --git
a/pv/popups/deviceoptions.cpp
b/pv/popups/deviceoptions.cpp
index 30d5f579422a37517aa689cae30dc1a88fe98262..7e1be20d52d5ca4dd7b14835387f960590c75b82 100644
(file)
--- a/
pv/popups/deviceoptions.cpp
+++ b/
pv/popups/deviceoptions.cpp
@@
-27,19
+27,26
@@
#include <pv/prop/property.h>
#include <pv/prop/property.h>
+using boost::shared_ptr;
+
namespace pv {
namespace popups {
namespace pv {
namespace popups {
-DeviceOptions::DeviceOptions(s
r_dev_inst *sdi
, QWidget *parent) :
+DeviceOptions::DeviceOptions(s
hared_ptr<DevInst> dev_inst
, QWidget *parent) :
Popup(parent),
Popup(parent),
- _
sdi(sdi
),
+ _
dev_inst(dev_inst
),
_layout(this),
_layout(this),
- _binding(
sdi
)
+ _binding(
dev_inst
)
{
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