]> git.lizzy.rs Git - dragonfireclient.git/blobdiff - src/exceptions.h
Add a callback: minetest.register_on_craft(itemstack, player,
[dragonfireclient.git] / src / exceptions.h
index 476699ecbb2f8b079352fc58c6e0502d028d3d8f..085b424177af20c1bc861afe5ea1d5f619caacc6 100644 (file)
@@ -1,6 +1,6 @@
 /*
 Minetest
-Copyright (C) 2010 celeron55, Perttu Ahola <celeron55@gmail.com>
+Copyright (C) 2013 celeron55, Perttu Ahola <celeron55@gmail.com>
 
 This program is free software; you can redistribute it and/or modify
 it under the terms of the GNU Lesser General Public License as published by
@@ -140,6 +140,15 @@ class ItemNotFoundException : public BaseException
        {}
 };
 
+// Only used on Windows (SEH)
+class FatalSystemException : public BaseException
+{
+public:
+       FatalSystemException(const char *s):
+               BaseException(s)
+       {}
+};
+
 /*
        Some "old-style" interrupts:
 */