X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vv%2FvvToolBase.h;h=c636a8dd5d4e0e69bed59f8170c202dd49423c68;hb=3c0bfb0ca626f3ad99ff5a404cc68a6466d46fec;hp=2abd2a652d699d61adf0593f0d10e493db1d11dd;hpb=ac8d0cdc2e748ef2868fc601e038c41b15703ef2;p=clitk.git diff --git a/vv/vvToolBase.h b/vv/vvToolBase.h index 2abd2a6..c636a8d 100644 --- a/vv/vvToolBase.h +++ b/vv/vvToolBase.h @@ -3,7 +3,7 @@ Authors belong to: - University of LYON http://www.universite-lyon.fr/ - - Léon Bérard cancer center http://oncora1.lyon.fnclcc.fr + - Léon Bérard cancer center http://www.centreleonberard.fr - CREATIS CNRS laboratory http://www.creatis.insa-lyon.fr This software is distributed WITHOUT ANY WARRANTY; without even @@ -14,7 +14,7 @@ - BSD See included LICENSE.txt file - CeCILL-B http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html -======================================================================-====*/ +===========================================================================**/ #ifndef VVTOOLBASE_H #define VVTOOLBASE_H @@ -27,6 +27,8 @@ template class vvToolBase : public vvToolBaseBase { public: vvToolBase(vvMainWindowBase * m); + virtual ~vvToolBase() {}; + static void Initialize(); // can't be virtual, must be overwritten static void SetToolName(QString n) { vvToolCreator::GetInstance()->mToolName = n; }