From 4e5c530cd695b4c5807a16b017b3fa9ef1d61886 Mon Sep 17 00:00:00 2001 From: beaufour Date: Fri, 5 May 2006 18:28:27 +0000 Subject: Oui bon j'ai oublie de commite et ca compile. --- i/marvin/src/utils/test_signalhandler.cc | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 i/marvin/src/utils/test_signalhandler.cc (limited to 'i/marvin/src/utils/test_signalhandler.cc') diff --git a/i/marvin/src/utils/test_signalhandler.cc b/i/marvin/src/utils/test_signalhandler.cc new file mode 100644 index 0000000..e25b1d2 --- /dev/null +++ b/i/marvin/src/utils/test_signalhandler.cc @@ -0,0 +1,15 @@ +#include +#include "signalhandler.hh" + +void res() +{ + std::cout << "RESET" << std::endl; +} + +int main() +{ + SignalHandler test; + test.bind(res); + while(1); + return 0; +} -- cgit v1.2.3