]> sigrok.org Git - libsigrok.git/blobdiff - bindings/cxx/include/libsigrokcxx/libsigrokcxx.hpp
input: Added preferred file extension field
[libsigrok.git] / bindings / cxx / include / libsigrokcxx / libsigrokcxx.hpp
index 0701688db5f46bacdfa373749c6a679c2b0d0444..0542a1be8e15132733e45a0bf77c040a93434efd 100644 (file)
@@ -865,6 +865,9 @@ public:
        string name();
        /** Description of this input format. */
        string description();
+       /** A list of preferred file name extensions for this file format.
+         * @note This list is a recommendation only. */
+       vector<string> extensions();
        /** Options supported by this input format. */
        map<string, shared_ptr<Option> > options();
        /** Create an input using this input format.