-// 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
SALOMEDSImpl_UseCaseBuilder* _builder;
public:
+ virtual ~SALOMEDSImpl_Callback() {}
SALOMEDSImpl_Callback(SALOMEDSImpl_UseCaseBuilder* builder)
{
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