X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=pv%2Fbinding%2Finputoutput.hpp;h=c77313aa605a6f6bb9749cf8eb5caf6266520082;hb=ffad6cd6856a0e0de36cad164d9d09e06c0ec52a;hp=3c64781f2ffa17ecd8f2f8f1979f0696e0b72686;hpb=6f925ba9d6faf1077b73c5a5808259576081716a;p=pulseview.git diff --git a/pv/binding/inputoutput.hpp b/pv/binding/inputoutput.hpp index 3c64781f..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: @@ -77,7 +78,7 @@ private: map options_; }; -} // binding -} // pv +} // namespace binding +} // namespace pv -#endif // PULSEVIEW_PV_BINDING_INPUTOUTPUT_H +#endif // PULSEVIEW_PV_BINDING_INPUTOUTPUT_HPP