[Scummvm-cvs-logs] SF.net SVN: scummvm:[52006] tools/branches/gsoc2010-decompiler/decompiler/ engine.h
pidgeot at users.sourceforge.net
pidgeot at users.sourceforge.net
Wed Aug 11 23:31:42 CEST 2010
Revision: 52006
http://scummvm.svn.sourceforge.net/scummvm/?rev=52006&view=rev
Author: pidgeot
Date: 2010-08-11 21:31:42 +0000 (Wed, 11 Aug 2010)
Log Message:
-----------
DECOMPILER: Constify some Engine methods
Modified Paths:
--------------
tools/branches/gsoc2010-decompiler/decompiler/engine.h
Modified: tools/branches/gsoc2010-decompiler/decompiler/engine.h
===================================================================
--- tools/branches/gsoc2010-decompiler/decompiler/engine.h 2010-08-11 21:29:29 UTC (rev 52005)
+++ tools/branches/gsoc2010-decompiler/decompiler/engine.h 2010-08-11 21:31:42 UTC (rev 52006)
@@ -106,14 +106,14 @@
*
* @return True if supported, false if not. If false is returned, code flow analysis should not take place, and -D should be implied.
*/
- virtual bool supportsCodeFlow() { return true; }
+ virtual bool supportsCodeFlow() const { return true; }
/**
* Whether or not code generation is supported for this engine.
*
* @return True if supported, false if not. If false is returned, code generation should not take place, and -G should be implied.
*/
- virtual bool supportsCodeGen() { return true; }
+ virtual bool supportsCodeGen() const { return true; }
/**
* Whether or not additional functions should be looked for during CFG analysis.
@@ -122,7 +122,7 @@
*
* @return True if yes, false if no.
*/
- virtual bool detectMoreFuncs() { return false; }
+ virtual bool detectMoreFuncs() const { return false; }
FuncMap _functions; ///< Map to functions in the current script, indexed by starting address.
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