src/ai/api/ai_execmode.hpp
branchnoai
changeset 9529 5f26f4bc574b
parent 9526 a4ad60ba03be
child 9532 539c48d64eea
--- a/src/ai/api/ai_execmode.hpp	Sun Mar 25 15:22:56 2007 +0000
+++ b/src/ai/api/ai_execmode.hpp	Sun Mar 25 16:10:40 2007 +0000
@@ -27,6 +27,11 @@
 
 public:
 	/**
+	 * The name of the class, needed by several sub-processes.
+	 */
+	static const char *GetClassName() { return "AIExecMode"; }
+
+	/**
 	 * Creating instance of this class switches the build mode to Execute.
 	 * @note when the instance is destroyed, he restores the mode that was
 	 *   current when the instance was created!