diff options
author | Einar Johan Trøan Sømåen | 2012-12-03 10:42:58 +0100 |
---|---|---|
committer | Einar Johan Trøan Sømåen | 2012-12-03 10:42:58 +0100 |
commit | 53512b0841fdf90146220222f43721043d91f093 (patch) | |
tree | 87eda7b2adfd613c62c9466ac5ea4fdc7a89d70e /engines/wintermute/base/base_script_holder.h | |
parent | 7071acfa478a39b492643530f9f4927cd4e85e51 (diff) | |
download | scummvm-rg350-53512b0841fdf90146220222f43721043d91f093.tar.gz scummvm-rg350-53512b0841fdf90146220222f43721043d91f093.tar.bz2 scummvm-rg350-53512b0841fdf90146220222f43721043d91f093.zip |
WINTERMUTE: Const-ify member-functions that obviously should be const.
Diffstat (limited to 'engines/wintermute/base/base_script_holder.h')
-rw-r--r-- | engines/wintermute/base/base_script_holder.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/wintermute/base/base_script_holder.h b/engines/wintermute/base/base_script_holder.h index 5fd0dbec9c..320f0fb07a 100644 --- a/engines/wintermute/base/base_script_holder.h +++ b/engines/wintermute/base/base_script_holder.h @@ -43,8 +43,8 @@ public: virtual ~BaseScriptHolder(); virtual ScScript *invokeMethodThread(const char *methodName); virtual void makeFreezable(bool freezable); - bool canHandleEvent(const char *eventName); - virtual bool canHandleMethod(const char *eventMethod); + bool canHandleEvent(const char *eventName) const; + virtual bool canHandleMethod(const char *eventMethod) const; bool cleanup(); bool removeScript(ScScript *script); bool addScript(const char *filename); |