#ifndef PULSEVIEW_PV_BINDING_DEVICE_HPP
#define PULSEVIEW_PV_BINDING_DEVICE_HPP
+#include <functional>
+
#include <boost/optional.hpp>
#include <QObject>
void config_changed();
private:
- void bind_bool(const QString &name,
+ void bind_bool(const QString &name, const QString &desc,
prop::Property::Getter getter, prop::Property::Setter setter);
- void bind_enum(const QString &name,
+ void bind_enum(const QString &name, const QString &desc,
const sigrok::ConfigKey *key,
set<const sigrok::Capability *> capabilities,
prop::Property::Getter getter, prop::Property::Setter setter,
function<QString (Glib::VariantBase)> printer = print_gvariant);
- void bind_int(const QString &name, QString suffix,
+ void bind_int(const QString &name, const QString &desc, QString suffix,
boost::optional< pair<int64_t, int64_t> > range,
prop::Property::Getter getter, prop::Property::Setter setter);
shared_ptr<sigrok::Configurable> configurable_;
};
-} // binding
-} // pv
+} // namespace binding
+} // namespace pv
#endif // PULSEVIEW_PV_BINDING_DEVICE_HPP