From 9f6922ddd2801a7099084f1a70e7f09e70821b2f Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sun, 1 Jul 2007 20:28:57 +0000 Subject: Patch #1595026: engine init/shutdown OSystem methods svn-id: r27837 --- common/system.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/common/system.h b/common/system.h index 95f970d956..34f945642c 100644 --- a/common/system.h +++ b/common/system.h @@ -73,6 +73,18 @@ public: */ virtual void initBackend() { } + /** + * Allows the backend to perform engine specific init. + * Called just before the engine is run. + */ + virtual void engineInit() { } + + /** + * Allows the backend to perform engine specific de-init. + * Called after the engine finishes. + */ + virtual void engineDone() { } + /** @name Feature flags */ //@{ -- cgit v1.2.3