diff options
author | fcolin | 2007-02-01 13:01:13 +0000 |
---|---|---|
committer | fcolin | 2007-02-01 13:01:13 +0000 |
commit | 1b59a9ddbe5dc5d0580dd9e1af92483577109f45 (patch) | |
tree | adb3f0aab828795c21c29f14543e99198f66867a /Bus/Ivy | |
parent | 83f2c117da25758e2dc6ff0da0b53280595840cf (diff) | |
download | ivy-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)
Diffstat (limited to 'Bus/Ivy')
-rw-r--r-- | Bus/Ivy/IvyCallback.h | 3 |
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 {
|