summaryrefslogtreecommitdiffstats
path: root/src/Signal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Signal.h')
-rw-r--r--src/Signal.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/Signal.h b/src/Signal.h
new file mode 100644
index 0000000..c824f46
--- /dev/null
+++ b/src/Signal.h
@@ -0,0 +1,15 @@
+#ifndef __PY_SIGNAL_H_
+#define __PY_SIGNAL_H_
+
+#include <boost/signals2.hpp>
+#include <boost/bind.hpp>
+
+namespace PY {
+
+template <typename Signature>
+class signal : public boost::signals2::signal_type <Signature, boost::signals2::keywords::mutex_type<boost::signals2::dummy_mutex> >::type {};
+using boost::bind;
+
+};
+
+#endif