X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=pv%2Fbinding%2Finputoutput.hpp;h=c77313aa605a6f6bb9749cf8eb5caf6266520082;hb=8845be3c9c7d5aca02fb2efc4038f4735a5242d6;hp=7aa90a16f9e7fe37e0125c493cd1c75f8da28483;hpb=870ea3dbf35b182e120c5d84ab89bf9cb7691232;p=pulseview.git diff --git a/pv/binding/inputoutput.hpp b/pv/binding/inputoutput.hpp index 7aa90a16..c77313aa 100644 --- a/pv/binding/inputoutput.hpp +++ b/pv/binding/inputoutput.hpp @@ -62,12 +62,13 @@ private: /** * A helper function to bind an option list to and enum property. * @param name the name of the property. + * @param name the description of the property. * @param values the list of values. * @param getter the getter that will read the values out of the map. * @param setter the setter that will set the values into the map. */ shared_ptr bind_enum(const QString &name, - const vector &values, + const QString &desc, const vector &values, prop::Property::Getter getter, prop::Property::Setter setter); private: @@ -80,4 +81,4 @@ private: } // namespace binding } // namespace pv -#endif // PULSEVIEW_PV_BINDING_INPUTOUTPUT_H +#endif // PULSEVIEW_PV_BINDING_INPUTOUTPUT_HPP