aboutsummaryrefslogtreecommitdiff
path: root/src/signals.cpp
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2009-12-16 21:22:39 +0000
committerMike Buland <eichlan@xagasoft.com>2009-12-16 21:22:39 +0000
commitafac5804b069e5eb76c799e9edd2eaeff0d99b94 (patch)
treed2b3a51f899c7ad1bb828885ff8178613f9ebd63 /src/signals.cpp
parentf72c6e4b97afeb69d9ea4d743c0c302d647ea424 (diff)
downloadlibbu++-afac5804b069e5eb76c799e9edd2eaeff0d99b94.tar.gz
libbu++-afac5804b069e5eb76c799e9edd2eaeff0d99b94.tar.bz2
libbu++-afac5804b069e5eb76c799e9edd2eaeff0d99b94.tar.xz
libbu++-afac5804b069e5eb76c799e9edd2eaeff0d99b94.zip
Signals are now not only typesafe, but also will throw an exception if you try
to construct a slot with a null pointer, or call a signal that has not been set yet. Also, signals can be checked for being set, and assigned to one another.
Diffstat (limited to 'src/signals.cpp')
-rw-r--r--src/signals.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/signals.cpp b/src/signals.cpp
new file mode 100644
index 0000000..7952053
--- /dev/null
+++ b/src/signals.cpp
@@ -0,0 +1,3 @@
1#include "bu/signals.h"
2
3namespace Bu { subExceptionDef( SignalException ) }