diff options
author | Nao Pross <naopross@thearcway.org> | 2019-01-25 01:11:57 +0100 |
---|---|---|
committer | Nao Pross <naopross@thearcway.org> | 2019-01-25 01:11:57 +0100 |
commit | bcd14a356cafe58808b4c2a14782ebb194c6abc5 (patch) | |
tree | 3bc95288b0a0172bb447ccf218fb59821f22501a /engine/include/exceptions/forcequit.hpp | |
parent | Delete bin and test/makefile update .gitignore (diff) | |
download | flatland-bcd14a356cafe58808b4c2a14782ebb194c6abc5.tar.gz flatland-bcd14a356cafe58808b4c2a14782ebb194c6abc5.zip |
Rename everything under engine/ to remove `flat' and be `.hpp'
Diffstat (limited to 'engine/include/exceptions/forcequit.hpp')
-rw-r--r-- | engine/include/exceptions/forcequit.hpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/engine/include/exceptions/forcequit.hpp b/engine/include/exceptions/forcequit.hpp new file mode 100644 index 0000000..7b2b324 --- /dev/null +++ b/engine/include/exceptions/forcequit.hpp @@ -0,0 +1,11 @@ +#ifndef __FORCE_QUIT_H__ +#define __FORCE_QUIT_H__ + +struct ForceQuit +{ + const char * reason; + + ForceQuit(const char *reason) : reason(reason) {} +}; + +#endif |