X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSALOMEDSImpl%2FSALOMEDSImpl_Callback.hxx;h=f3d4330ad1457739676f9822775b377275d6cec4;hb=15a97ac169f8acd9cfcb6c4f9ef236d79c9d6a32;hp=e0cb0ee0922aaf502a0714267b70441fbe4b089a;hpb=39b7aec84a009a8a1946ea7b8e50c066f1cfa1f3;p=modules%2Fkernel.git diff --git a/src/SALOMEDSImpl/SALOMEDSImpl_Callback.hxx b/src/SALOMEDSImpl/SALOMEDSImpl_Callback.hxx index e0cb0ee09..f3d4330ad 100644 --- a/src/SALOMEDSImpl/SALOMEDSImpl_Callback.hxx +++ b/src/SALOMEDSImpl/SALOMEDSImpl_Callback.hxx @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2020 CEA/DEN, EDF R&D, OPEN CASCADE +// Copyright (C) 2007-2024 CEA, EDF, OPEN CASCADE // // Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS @@ -36,6 +36,7 @@ private: SALOMEDSImpl_UseCaseBuilder* _builder; public: + virtual ~SALOMEDSImpl_Callback() {} SALOMEDSImpl_Callback(SALOMEDSImpl_UseCaseBuilder* builder) { @@ -57,11 +58,12 @@ public: class SALOMEDSIMPL_EXPORT SALOMEDSImpl_AbstractCallback { public: - virtual bool addSO_Notification(const SALOMEDSImpl_SObject& theSObject){return false;}; - virtual bool removeSO_Notification(const SALOMEDSImpl_SObject& theSObject){return false;}; - virtual bool modifySO_Notification(const SALOMEDSImpl_SObject& theSObject, int reason ){return false;}; - virtual bool modifyNB_Notification(const char* theVarName){return false;}; - virtual void RegisterGenObj (const std::string& theIOR) {} - virtual void UnRegisterGenObj(const std::string& theIOR) {} + virtual ~SALOMEDSImpl_AbstractCallback() {} + virtual bool addSO_Notification(const SALOMEDSImpl_SObject& /*theSObject*/){return false;} + virtual bool removeSO_Notification(const SALOMEDSImpl_SObject& /*theSObject*/){return false;} + virtual bool modifySO_Notification(const SALOMEDSImpl_SObject& /*theSObject*/, int /*reason*/ ){return false;} + virtual bool modifyNB_Notification(const char* /*theVarName*/){return false;} + virtual void RegisterGenObj (const std::string& /*theIOR*/) {} + virtual void UnRegisterGenObj(const std::string& /*theIOR*/) {} }; #endif