diff options
-rw-r--r-- | common/system.h | 12 |
1 files changed, 12 insertions, 0 deletions
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 */ //@{ |