projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Moved form generation into Binding
[pulseview.git]
/
pv
/
prop
/
binding
/
binding.h
diff --git
a/pv/prop/binding/binding.h
b/pv/prop/binding/binding.h
index bddca8624588ff6bf4efe4af0737bc362d355d38..bdc4487b62c663429d64783366dc4c72dab66a39 100644
(file)
--- a/
pv/prop/binding/binding.h
+++ b/
pv/prop/binding/binding.h
@@
-21,12
+21,29
@@
#ifndef PULSEVIEW_PV_PROP_BINDING_BINDING_H
#define PULSEVIEW_PV_PROP_BINDING_BINDING_H
#ifndef PULSEVIEW_PV_PROP_BINDING_BINDING_H
#define PULSEVIEW_PV_PROP_BINDING_BINDING_H
+#include <vector>
+#include <boost/shared_ptr.hpp>
+
+class QWidget;
+
namespace pv {
namespace prop {
namespace pv {
namespace prop {
+
+class Property;
+
namespace binding {
class Binding
{
namespace binding {
class Binding
{
+public:
+ const std::vector< boost::shared_ptr<Property> >& properties();
+
+ void commit();
+
+ QWidget* get_property_form(QWidget *parent) const;
+
+protected:
+ std::vector< boost::shared_ptr<Property> > _properties;
};
} // binding
};
} // binding