X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=bindings%2Fcxx%2FConfigKey_methods.hpp;h=353153183b66c23eecc01d34bb2f1997da120df0;hb=b3fccc851b1bbeb6955ddec9007cea72a3e9e3fd;hp=997a52ee4a3e264c8599e9a654faccab0b571722;hpb=c23c8659b8f8c4ca60bf59f6afd12bde7a0b2383;p=libsigrok.git diff --git a/bindings/cxx/ConfigKey_methods.hpp b/bindings/cxx/ConfigKey_methods.hpp index 997a52ee..35315318 100644 --- a/bindings/cxx/ConfigKey_methods.hpp +++ b/bindings/cxx/ConfigKey_methods.hpp @@ -1,5 +1,10 @@ - const DataType *get_data_type() const; - string get_identifier() const; - string get_description() const; + /** Data type used for this configuration key. */ + const DataType *data_type() const; + /** String identifier for this configuration key, suitable for CLI use. */ + string identifier() const; + /** Description of this configuration key. */ + string description() const; + /** Get configuration key by string identifier. */ static const ConfigKey *get(string identifier); + /** Parse a string argument into the appropriate type for this key. */ Glib::VariantBase parse_string(string value) const;