]> SALOME platform Git repositories - samples/sierpinsky.git/blobdiff - src/SierpinskyGUI/SierpinskyGUI.cxx
Salome HOME
updated copyright message
[samples/sierpinsky.git] / src / SierpinskyGUI / SierpinskyGUI.cxx
index df30623e7f8e9ce2cbb7208c3421ab004b00d287..0139ce4afdda657f713ff2ee465d0e31ca4cacea 100644 (file)
@@ -1,9 +1,9 @@
-// Copyright (C) 2005-2012  OPEN CASCADE
+// Copyright (C) 2005-2023  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
 #include <SVTK_ViewModel.h>
 #include <SALOME_LifeCycleCORBA.hxx>
 #include <SierpinskyGUI_RunDlg.h>
+#include <utilities.h>
 
 /*!
  * Constructor
  */
 SierpinskyGUI::SierpinskyGUI() : 
-  SalomeApp_Module("Sierpinsky"),
-  LightApp_Module("Sierpinsky")
+  SalomeApp_Module("Sierpinsky")
 {
 }
 
@@ -156,11 +156,12 @@ void SierpinskyGUI::OnRun()
 }
 
 extern "C" {
+  SIERPINSKY_EXPORT
   CAM_Module* createModule()
   {
     return new SierpinskyGUI();
   }
-  
+  SIERPINSKY_EXPORT
   char* getModuleVersion()
   {
     return (char*)SIERPINSKY_VERSION_STR;