summaryrefslogtreecommitdiffstats
path: root/engine/include/exceptions
diff options
context:
space:
mode:
authorancarola <raffaele.ancarola@epfl.ch>2019-01-19 20:31:46 +0100
committerancarola <raffaele.ancarola@epfl.ch>2019-01-19 20:31:46 +0100
commitba86c8245484279ed7e78912b1ecd9ff4ac82e1e (patch)
tree7f3a04a92b862c4d145f2e79b87d524f98b54eed /engine/include/exceptions
parentTest two completed successfully (diff)
downloadflatland-ba86c8245484279ed7e78912b1ecd9ff4ac82e1e.tar.gz
flatland-ba86c8245484279ed7e78912b1ecd9ff4ac82e1e.zip
minor fixes
Diffstat (limited to 'engine/include/exceptions')
-rw-r--r--engine/include/exceptions/forcequit.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/engine/include/exceptions/forcequit.h b/engine/include/exceptions/forcequit.h
new file mode 100644
index 0000000..7b2b324
--- /dev/null
+++ b/engine/include/exceptions/forcequit.h
@@ -0,0 +1,11 @@
+#ifndef __FORCE_QUIT_H__
+#define __FORCE_QUIT_H__
+
+struct ForceQuit
+{
+ const char * reason;
+
+ ForceQuit(const char *reason) : reason(reason) {}
+};
+
+#endif