[Scummvm-cvs-logs] SF.net SVN: scummvm: [27837] scummvm/trunk/common/system.h
fingolfin at users.sourceforge.net
fingolfin at users.sourceforge.net
Sun Jul 1 22:28:57 CEST 2007
Revision: 27837
http://scummvm.svn.sourceforge.net/scummvm/?rev=27837&view=rev
Author: fingolfin
Date: 2007-07-01 13:28:57 -0700 (Sun, 01 Jul 2007)
Log Message:
-----------
Patch #1595026: engine init/shutdown OSystem methods
Modified Paths:
--------------
scummvm/trunk/common/system.h
Modified: scummvm/trunk/common/system.h
===================================================================
--- scummvm/trunk/common/system.h 2007-07-01 20:16:24 UTC (rev 27836)
+++ scummvm/trunk/common/system.h 2007-07-01 20:28:57 UTC (rev 27837)
@@ -73,6 +73,18 @@
*/
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 */
//@{
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list