X-Git-Url: http://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fsigsession.h;fp=pv%2Fsigsession.h;h=927b2e7c3a5e41800b0669aff04997d267e18b7d;hp=10d1e23de55d618d9a44ea36085955d23b55b3e7;hb=d23445348bf04a698e062a3b917360313ecbcaad;hpb=b101c41ea084b6dbf5db173759d79f6ca0cb2454 diff --git a/pv/sigsession.h b/pv/sigsession.h index 10d1e23d..927b2e7c 100644 --- a/pv/sigsession.h +++ b/pv/sigsession.h @@ -21,8 +21,6 @@ #ifndef PULSEVIEW_PV_SIGSESSION_H #define PULSEVIEW_PV_SIGSESSION_H -#include - #include #include #include @@ -94,7 +92,7 @@ public: capture_state get_capture_state() const; - void start_capture(boost::function error_handler); + void start_capture(std::function error_handler); void stop_capture(); @@ -135,11 +133,11 @@ private: static sr_input* load_input_file_format( const std::string &filename, - boost::function error_handler, + std::function error_handler, sr_input_format *format = NULL); void sample_thread_proc(std::shared_ptr dev_inst, - boost::function error_handler); + std::function error_handler); void feed_in_header(const sr_dev_inst *sdi);