-// Copyright (C) 2005-2008 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.
+// 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, 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
-// 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
//
+
///////////////////////////////////////////////////////////
// File : SierpinskyGUI.cxx
// Author : Vadim SANDLER (OCN)
// Created : 13/07/05
///////////////////////////////////////////////////////////
-//
+
#include "SierpinskyGUI.h"
+#include <SIERPINSKY_version.h>
+
#include <SUIT_MessageBox.h>
#include <SUIT_ResourceMgr.h>
#include <SUIT_Desktop.h>
#include <SVTK_ViewModel.h>
#include <SALOME_LifeCycleCORBA.hxx>
#include <SierpinskyGUI_RunDlg.h>
+#include <utilities.h>
/*!
* Constructor
{
SIERPINSKY_ORB::SIERPINSKY_ptr clr;
try{
- Engines::Component_var comp = app->lcc()->FindOrLoad_Component( "FactoryServer","SIERPINSKY" );
+ Engines::EngineComponent_var comp = app->lcc()->FindOrLoad_Component( "FactoryServer","SIERPINSKY" );
clr = SIERPINSKY_ORB::SIERPINSKY::_narrow(comp);
}
catch (CORBA::Exception&){
}
extern "C" {
+ SIERPINSKY_EXPORT
CAM_Module* createModule()
{
return new SierpinskyGUI();
}
+ SIERPINSKY_EXPORT
+ char* getModuleVersion()
+ {
+ return (char*)SIERPINSKY_VERSION_STR;
+ }
}