X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;ds=sidebyside;f=pv%2Fbinding%2Fdevice.hpp;h=81c505986c85ac27662dfa7443b13ff5bcceff5f;hb=09f55d9665efb3b17ba7de4bae47be6989e884fe;hp=7dfe02465322b4c5a8c718724bf302922e52783d;hpb=ef2986c0f3e0ce3346a28d86348d8cc1746e9b66;p=pulseview.git
diff --git a/pv/binding/device.hpp b/pv/binding/device.hpp
index 7dfe024..81c5059 100644
--- a/pv/binding/device.hpp
+++ b/pv/binding/device.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_DEVICE_HPP
@@ -50,7 +49,8 @@ private:
void bind_bool(const QString &name,
prop::Property::Getter getter, prop::Property::Setter setter);
void bind_enum(const QString &name,
- const sigrok::ConfigKey *key, std::set capabilities,
+ const sigrok::ConfigKey *key,
+ std::set capabilities,
prop::Property::Getter getter, prop::Property::Setter setter,
std::function printer = print_gvariant);
void bind_int(const QString &name, QString suffix,
@@ -60,6 +60,7 @@ private:
static QString print_timebase(Glib::VariantBase gvar);
static QString print_vdiv(Glib::VariantBase gvar);
static QString print_voltage_threshold(Glib::VariantBase gvar);
+ static QString print_probe_factor(Glib::VariantBase gvar);
protected:
std::shared_ptr configurable_;