X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=pv%2Fbinding%2Fbinding.hpp;h=6e92b08393694af4b593f859af7e449021527abb;hb=1df756a190693295995a938e64333ddbda4ca3cf;hp=4854bd6c81635e3c3ce824d56656d6a6a7d02978;hpb=8ada6ef1319fa11fd594a34853967c1f9688913b;p=pulseview.git
diff --git a/pv/binding/binding.hpp b/pv/binding/binding.hpp
index 4854bd6..6e92b08 100644
--- a/pv/binding/binding.hpp
+++ b/pv/binding/binding.hpp
@@ -14,8 +14,7 @@
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+ * along with this program; if not, see .
*/
#ifndef PULSEVIEW_PV_BINDING_BINDING_HPP
@@ -27,11 +26,14 @@ G_GNUC_BEGIN_IGNORE_DEPRECATIONS
#include
G_GNUC_END_IGNORE_DEPRECATIONS
-#include
#include
+#include
#include
+using std::shared_ptr;
+using std::vector;
+
class QFormLayout;
class QWidget;
@@ -46,7 +48,7 @@ namespace binding {
class Binding
{
public:
- const std::vector< std::shared_ptr >& properties();
+ const vector< shared_ptr >& properties();
void commit();
@@ -56,13 +58,15 @@ public:
QWidget* get_property_form(QWidget *parent,
bool auto_commit = false) const;
+ void update_property_widgets();
+
static QString print_gvariant(Glib::VariantBase gvar);
protected:
- std::vector< std::shared_ptr > properties_;
+ vector< shared_ptr > properties_;
};
-} // binding
-} // pv
+} // namespace binding
+} // namespace pv
#endif // PULSEVIEW_PV_BINDING_BINDING_HPP