]> SALOME platform Git repositories - samples/light.git/blobdiff - src/LIGHTGUI/LIGHTGUI.cxx
Salome HOME
Merge from V6_main_20120808 08Aug12
[samples/light.git] / src / LIGHTGUI / LIGHTGUI.cxx
index 5bbd2ff55444507b8318d91998fb3bf50899025e..f0625197a16d681b6cce480ca1a536306cebb34b 100644 (file)
@@ -1,27 +1,30 @@
-//  Copyright (C) 2005-2008  OPEN CASCADE
+// Copyright (C) 2005-2012  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.
+// 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.
 //
-//  This library is distributed in the hope that it will be useful,
-//  but WITHOUT ANY WARRANTY; without even the implied warranty of
-//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-//  Lesser General Public License for more details.
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+// Lesser General Public License for more details.
 //
-//  You should have received a copy of the GNU Lesser General Public
-//  License along with this library; if not, write to the Free Software
-//  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-//  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
+
 // LIGHT : sample (no-corba-engine) SALOME module
 // File   : LIGHTGUI.cxx
 // Author : Julia DOROVSKIKH
 //
 #include "LIGHTGUI.h"
 
+#include <LIGHT_version.h>
+
 #include "LIGHTGUI_Selection.h"
 #include "LIGHTGUI_DataModel.h"
 #include "LightApp_DataOwner.h"
@@ -602,4 +605,8 @@ extern "C" {
   LIGHTGUI_EXPORT CAM_Module* createModule() {
     return new LIGHTGUI();
   }
+  
+  LIGHTGUI_EXPORT char* getModuleVersion() {
+    return (char*)LIGHT_VERSION_STR;
+  }
 }