summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfcolin2007-02-01 13:01:13 +0000
committerfcolin2007-02-01 13:01:13 +0000
commit1b59a9ddbe5dc5d0580dd9e1af92483577109f45 (patch)
treeadb3f0aab828795c21c29f14543e99198f66867a
parent83f2c117da25758e2dc6ff0da0b53280595840cf (diff)
downloadivy-cplusplus-1b59a9ddbe5dc5d0580dd9e1af92483577109f45.zip
ivy-cplusplus-1b59a9ddbe5dc5d0580dd9e1af92483577109f45.tar.gz
ivy-cplusplus-1b59a9ddbe5dc5d0580dd9e1af92483577109f45.tar.bz2
ivy-cplusplus-1b59a9ddbe5dc5d0580dd9e1af92483577109f45.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)
-rw-r--r--Bus/Ivy/IvyCallback.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Bus/Ivy/IvyCallback.h b/Bus/Ivy/IvyCallback.h
index 4a41b9a..bbcaa11 100644
--- a/Bus/Ivy/IvyCallback.h
+++ b/Bus/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 {