Salome HOME
add method NameChanged to update title name
[modules/kernel.git] / src / KernelHelpers / SALOMEDS_DriverDefaultImpl.hxx
index c0b6635a66e96f41051f865b04853c0c1e031ba3..ea748e66ab489ad1bed93e64495a93b43ca3ce9f 100644 (file)
@@ -1,9 +1,9 @@
-// Copyright (C) 2007-2012  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2016  CEA/DEN, EDF R&D, OPEN CASCADE
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
 // License as published by the Free Software Foundation; either
-// version 2.1 of the License.
+// version 2.1 of the License, or (at your option) any later version.
 //
 // This library is distributed in the hope that it will be useful,
 // but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -87,12 +87,10 @@ class KERNELHELPERS_EXPORT SALOMEDS_DriverDefaultImpl:
 
     virtual bool CanPublishInStudy(CORBA::Object_ptr theIOR);
 
-    virtual SALOMEDS::SObject_ptr PublishInStudy
-                             (SALOMEDS::Study_ptr theStudy,
-                  SALOMEDS::SObject_ptr theSObject,
-            CORBA::Object_ptr theObject,
-            const char* theName) 
-              throw (SALOME::SALOME_Exception);
+    virtual SALOMEDS::SObject_ptr PublishInStudy(SALOMEDS::SObject_ptr theSObject,
+                                                 CORBA::Object_ptr     theObject,
+                                                 const char*           theName)
+      throw (SALOME::SALOME_Exception);
 
     virtual CORBA::Boolean CanCopy(SALOMEDS::SObject_ptr theObject);