X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=pv%2Fbinding%2Fbinding.hpp;h=c4b1e9ddfd6d59ab2bb614b7fb19b154a085e9fe;hb=870ea3dbf35b182e120c5d84ab89bf9cb7691232;hp=35492e30ec435e9930303f974ada51e30bee0fbd;hpb=efdec55aec1a137460fa362a381ed1904182bfed;p=pulseview.git diff --git a/pv/binding/binding.hpp b/pv/binding/binding.hpp index 35492e3..c4b1e9d 100644 --- a/pv/binding/binding.hpp +++ b/pv/binding/binding.hpp @@ -31,6 +31,9 @@ G_GNUC_END_IGNORE_DEPRECATIONS #include +using std::shared_ptr; +using std::vector; + class QFormLayout; class QWidget; @@ -45,7 +48,7 @@ namespace binding { class Binding { public: - const std::vector< std::shared_ptr >& properties(); + const vector< shared_ptr >& properties(); void commit(); @@ -58,10 +61,10 @@ public: 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