X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=bindings%2Fcxx%2Fclasses.cpp;h=6c3b15f159018d90e14d57f97fc6f7ca34f51cb1;hb=3f03ffaf2f7c9c65d0bf35e611df8fb720ed0e8c;hp=357c9d6f3cbccac46f24a7d1c74025c525b40324;hpb=81b3ce374c3b6d48e5ed321ac7a871ce4248a0bb;p=libsigrok.git diff --git a/bindings/cxx/classes.cpp b/bindings/cxx/classes.cpp index 357c9d6f..6c3b15f1 100644 --- a/bindings/cxx/classes.cpp +++ b/bindings/cxx/classes.cpp @@ -17,7 +17,7 @@ * along with this program. If not, see . */ -#include "libsigrokcxx/libsigrokcxx.hpp" +#include #include #include @@ -1573,6 +1573,11 @@ shared_ptr OutputFormat::create_output(string filename, Output::Deleter()); } +bool OutputFormat::test_flag(const OutputFlag *flag) +{ + return sr_output_test_flag(_structure, flag->id()); +} + Output::Output(shared_ptr format, shared_ptr device, map options) : UserOwned(sr_output_new(format->_structure, @@ -1614,6 +1619,6 @@ string Output::receive(shared_ptr packet) } } -#include "enums.cpp" +#include }