X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vv%2FvvToolROIManager.h;h=db630c641b059c4838a376d7bdfdf380a70d4fd5;hb=0e51b8dde15bfe59437d6f351c516f4137faf631;hp=1c5fa20a5ed2c94630dbc3572512edc249d2284e;hpb=c1118f288aa299f668cc5f24e44934518b20d905;p=clitk.git diff --git a/vv/vvToolROIManager.h b/vv/vvToolROIManager.h index 1c5fa20..db630c6 100644 --- a/vv/vvToolROIManager.h +++ b/vv/vvToolROIManager.h @@ -19,7 +19,12 @@ #ifndef VVTOOLROIMANAGER_H #define VVTOOLROIMANAGER_H +#include +#if QT_VERSION >= 0x050000 #include +#else +#include +#endif #include #include "vvToolBase.h" @@ -46,7 +51,11 @@ class vvToolROIManager: void AddImage(vvImage * binaryImage, std::string name, std::string filename, double BG, bool m_modeBG=true); void UpdateAllContours(); void UpdateAllROIStatus(); +#if __cplusplus > 199711L + virtual void SaveState(std::shared_ptr & m_XmlWriter); +#else virtual void SaveState(std::auto_ptr & m_XmlWriter); +#endif virtual void InitializeNewTool(bool ReadStateFlag); public slots: