projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Replaced boost::function with std::function
[pulseview.git]
/
pv
/
sigsession.h
diff --git
a/pv/sigsession.h
b/pv/sigsession.h
index 10d1e23de55d618d9a44ea36085955d23b55b3e7..927b2e7c3a5e41800b0669aff04997d267e18b7d 100644
(file)
--- a/
pv/sigsession.h
+++ b/
pv/sigsession.h
@@
-21,8
+21,6
@@
#ifndef PULSEVIEW_PV_SIGSESSION_H
#define PULSEVIEW_PV_SIGSESSION_H
#ifndef PULSEVIEW_PV_SIGSESSION_H
#define PULSEVIEW_PV_SIGSESSION_H
-#include <boost/function.hpp>
-
#include <map>
#include <memory>
#include <mutex>
#include <map>
#include <memory>
#include <mutex>
@@
-94,7
+92,7
@@
public:
capture_state get_capture_state() const;
capture_state get_capture_state() const;
- void start_capture(
boost
::function<void (const QString)> error_handler);
+ void start_capture(
std
::function<void (const QString)> error_handler);
void stop_capture();
void stop_capture();
@@
-135,11
+133,11
@@
private:
static sr_input* load_input_file_format(
const std::string &filename,
static sr_input* load_input_file_format(
const std::string &filename,
-
boost
::function<void (const QString)> error_handler,
+
std
::function<void (const QString)> error_handler,
sr_input_format *format = NULL);
void sample_thread_proc(std::shared_ptr<device::DevInst> dev_inst,
sr_input_format *format = NULL);
void sample_thread_proc(std::shared_ptr<device::DevInst> dev_inst,
-
boost
::function<void (const QString)> error_handler);
+
std
::function<void (const QString)> error_handler);
void feed_in_header(const sr_dev_inst *sdi);
void feed_in_header(const sr_dev_inst *sdi);