projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
INSTALL: Fix incorrect gcc/clang minimum versions.
[pulseview.git]
/
pv
/
binding
/
binding.hpp
diff --git
a/pv/binding/binding.hpp
b/pv/binding/binding.hpp
index 35492e30ec435e9930303f974ada51e30bee0fbd..e672ff176f24a5301026e519057b47b0db0b263f 100644
(file)
--- a/
pv/binding/binding.hpp
+++ b/
pv/binding/binding.hpp
@@
-26,11
+26,14
@@
G_GNUC_BEGIN_IGNORE_DEPRECATIONS
#include <glibmm.h>
G_GNUC_END_IGNORE_DEPRECATIONS
#include <glibmm.h>
G_GNUC_END_IGNORE_DEPRECATIONS
-#include <vector>
#include <memory>
#include <memory>
+#include <vector>
#include <QString>
#include <QString>
+using std::shared_ptr;
+using std::vector;
+
class QFormLayout;
class QWidget;
class QFormLayout;
class QWidget;
@@
-45,7
+48,7
@@
namespace binding {
class Binding
{
public:
class Binding
{
public:
- const
std::vector< std::
shared_ptr<prop::Property> >& properties();
+ const
vector<
shared_ptr<prop::Property> >& properties();
void commit();
void commit();
@@
-58,10
+61,10
@@
public:
static QString print_gvariant(Glib::VariantBase gvar);
protected:
static QString print_gvariant(Glib::VariantBase gvar);
protected:
-
std::vector< std::
shared_ptr<prop::Property> > properties_;
+
vector<
shared_ptr<prop::Property> > properties_;
};
};
-}
//
binding
-}
//
pv
+}
// namespace
binding
+}
// namespace
pv
#endif // PULSEVIEW_PV_BINDING_BINDING_HPP
#endif // PULSEVIEW_PV_BINDING_BINDING_HPP