projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Settings: Only show initial pin config UI elements if enabled
[pulseview.git]
/
pv
/
binding
/
binding.hpp
diff --git
a/pv/binding/binding.hpp
b/pv/binding/binding.hpp
index 4854bd6c81635e3c3ce824d56656d6a6a7d02978..e672ff176f24a5301026e519057b47b0db0b263f 100644
(file)
--- 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
* 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 <http://www.gnu.org/licenses/>.
*/
#ifndef PULSEVIEW_PV_BINDING_BINDING_HPP
*/
#ifndef PULSEVIEW_PV_BINDING_BINDING_HPP
@@
-27,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;
@@
-46,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();
@@
-59,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