X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vv%2FvvToolBase.h;h=3cd4fbfd2acc55b466b98d435c5db46b0ee0715a;hb=5a7da4aedae5c204bc55c187717193e5950f9a44;hp=2abd2a652d699d61adf0593f0d10e493db1d11dd;hpb=ac8d0cdc2e748ef2868fc601e038c41b15703ef2;p=clitk.git diff --git a/vv/vvToolBase.h b/vv/vvToolBase.h index 2abd2a6..3cd4fbf 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,19 +14,22 @@ - 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 #include "vvToolBaseBase.h" #include "vvToolCreator.h" +#include //------------------------------------------------------------------------------ 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; }