aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEinar Johan Trøan Sømåen2012-05-11 07:34:34 +0200
committerEinar Johan Trøan Sømåen2012-06-02 12:59:02 +0200
commit7bd6151127e072f4f270a62654398db74dc7085c (patch)
tree4e033f316fcbf90f6f84595076b0c676f1edac17
parent076cd93d213f7ecb9a3f42165f6805826c544e96 (diff)
downloadscummvm-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.h5
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;