diff -r 24c7b804c99f -r 089e37c0887e sources/basics.h --- a/sources/basics.h Sun Dec 14 23:41:00 2014 +0200 +++ b/sources/basics.h Mon Dec 15 01:41:06 2014 +0200 @@ -63,9 +63,12 @@ using Function = std::function; FUNCTION print_to_console (const String& a) -> void; +FUNCTION request_exit() -> void; template inline FUNCTION clamp (T a, T b, T c) -> T { return (a < b) ? b : (a > c) ? c : a; } + +struct Exitception {};