]> sigrok.org Git - libsigrok.git/blobdiff - bindings/cxx/include/libsigrok/libsigrok.hpp
C++: Add Configurable::config_check() method.
[libsigrok.git] / bindings / cxx / include / libsigrok / libsigrok.hpp
index 637daf912114e99dd4b8efe1a5eb1922579eaf77..29d6c73638fa7780253e7287ec1c97faac2eec6d 100644 (file)
@@ -297,6 +297,8 @@ public:
        Glib::VariantContainerBase config_list(const ConfigKey *key);
        /** Enumerate available keys, according to a given index key. */
        vector<const ConfigKey *> config_keys(const ConfigKey *key);
+       /** Check for a key in the list from a given index key. */
+       bool config_check(const ConfigKey *key, const ConfigKey *index_key);
 protected:
        Configurable(
                struct sr_dev_driver *driver,