summaryrefslogtreecommitdiff
path: root/Ivy/IvyCallback.h
diff options
context:
space:
mode:
authorfcolin2007-02-01 13:01:13 +0000
committerfcolin2007-02-01 13:01:13 +0000
commitc2898f2c85984b8acdfb7ca987a751f6b69f3b8b (patch)
tree6b320069297523131be4db0c979d15c2255e9d09 /Ivy/IvyCallback.h
parent321483f0c1433e0b254584db97b3bc6f5ecaa24b (diff)
downloadivy-cplusplus-c2898f2c85984b8acdfb7ca987a751f6b69f3b8b.zip
ivy-cplusplus-c2898f2c85984b8acdfb7ca987a751f6b69f3b8b.tar.gz
ivy-cplusplus-c2898f2c85984b8acdfb7ca987a751f6b69f3b8b.tar.bz2
ivy-cplusplus-c2898f2c85984b8acdfb7ca987a751f6b69f3b8b.tar.xz
Utilisateur : Fcolin Date : 16/06/00 Heure : 10:51 Archivé dans $/Ivy Commentaire: bug a la destruction des callbacks --> virtual destructor classe de base (vss 2)
Diffstat (limited to 'Ivy/IvyCallback.h')
-rw-r--r--Ivy/IvyCallback.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Ivy/IvyCallback.h b/Ivy/IvyCallback.h
index 4a41b9a..bbcaa11 100644
--- a/Ivy/IvyCallback.h
+++ b/Ivy/IvyCallback.h
@@ -39,6 +39,9 @@ class IvyApplication;
class IvyMessageCallback {
public:
virtual void OnMessage (IvyApplication *app, int argc, const char **argv )=0;
+ virtual ~IvyMessageCallback()
+ {
+ }
};
/* template Class Callback for the normal bus Message */
template <class T> class IvyMessageCallbackOf : public IvyMessageCallback {