diff options
author | Max Horn | 2007-07-01 20:28:57 +0000 |
---|---|---|
committer | Max Horn | 2007-07-01 20:28:57 +0000 |
commit | 9f6922ddd2801a7099084f1a70e7f09e70821b2f (patch) | |
tree | 649f3139d03e8a4aa5ede7c72d2b182bdc7658a3 | |
parent | a14485da5f1a809a8b49dc8acd4997313769d03d (diff) | |
download | scummvm-rg350-9f6922ddd2801a7099084f1a70e7f09e70821b2f.tar.gz scummvm-rg350-9f6922ddd2801a7099084f1a70e7f09e70821b2f.tar.bz2 scummvm-rg350-9f6922ddd2801a7099084f1a70e7f09e70821b2f.zip |
Patch #1595026: engine init/shutdown OSystem methods
svn-id: r27837
-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 */ //@{ |