diff options
author | Mike Buland <eichlan@xagasoft.com> | 2009-12-16 21:22:39 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2009-12-16 21:22:39 +0000 |
commit | afac5804b069e5eb76c799e9edd2eaeff0d99b94 (patch) | |
tree | d2b3a51f899c7ad1bb828885ff8178613f9ebd63 /src/signals.cpp | |
parent | f72c6e4b97afeb69d9ea4d743c0c302d647ea424 (diff) | |
download | libbu++-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.cpp | 3 |
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 | |||
3 | namespace Bu { subExceptionDef( SignalException ) } | ||