diff options
author | Einar Johan Trøan Sømåen | 2012-05-11 07:34:34 +0200 |
---|---|---|
committer | Einar Johan Trøan Sømåen | 2012-06-02 12:59:02 +0200 |
commit | 7bd6151127e072f4f270a62654398db74dc7085c (patch) | |
tree | 4e033f316fcbf90f6f84595076b0c676f1edac17 | |
parent | 076cd93d213f7ecb9a3f42165f6805826c544e96 (diff) | |
download | scummvm-rg350-7bd6151127e072f4f270a62654398db74dc7085c.tar.gz scummvm-rg350-7bd6151127e072f4f270a62654398db74dc7085c.tar.bz2 scummvm-rg350-7bd6151127e072f4f270a62654398db74dc7085c.zip |
WINTERMUTE: Add empty virtual destructors to the Debugger-classes, to silence a few warnings.
-rw-r--r-- | engines/wintermute/wme_debugger.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/wintermute/wme_debugger.h b/engines/wintermute/wme_debugger.h index 6774ab0768..0f084be75e 100644 --- a/engines/wintermute/wme_debugger.h +++ b/engines/wintermute/wme_debugger.h @@ -64,6 +64,7 @@ EWmeDebuggerVariableType; //////////////////////////////////////////////////////////////////////////
class IWmeDebugScript {
public:
+ virtual ~IWmeDebugScript() {}
virtual int DbgGetLine() = 0;
virtual const char *DbgGetFilename() = 0;
virtual TScriptState DbgGetState() = 0;
@@ -80,6 +81,7 @@ class IWmeDebugProp { public:
virtual EWmeDebuggerPropType DbgGetType() = 0;
+ virtual ~IWmeDebugProp() {}
// getters
virtual int DbgGetValInt() = 0;
virtual double DbgGetValFloat() = 0;
@@ -104,6 +106,7 @@ public: //////////////////////////////////////////////////////////////////////////
class IWmeDebugObject {
public:
+ virtual ~IWmeDebugObject() {}
virtual const char *DbgGetNativeClass() = 0;
virtual IWmeDebugProp *DbgGetProperty(const char *Name) = 0;
};
@@ -111,6 +114,7 @@ public: //////////////////////////////////////////////////////////////////////////
class IWmeDebugClient {
public:
+ virtual ~IWmeDebugClient() {}
virtual bool OnGameInit() = 0;
virtual bool OnGameShutdown() = 0;
@@ -135,6 +139,7 @@ public: //////////////////////////////////////////////////////////////////////////
class IWmeDebugServer {
public:
+ virtual ~IWmeDebugServer() {}
virtual bool AttachClient(IWmeDebugClient *Client) = 0;
virtual bool DetachClient(IWmeDebugClient *Client) = 0;
|