LIST(APPEND _output ${CMAKE_CURRENT_BINARY_DIR}/sipHYDROPycmodule.cc)
SET(${outfiles} ${${outfiles}} ${CMAKE_CURRENT_BINARY_DIR}/sipHYDROPycmodule.cc)
+
+ LIST(APPEND _output ${CMAKE_CURRENT_BINARY_DIR}/sipHYDROPyHYDROData_Application.cc)
+ SET(${outfiles} ${${outfiles}} ${CMAKE_CURRENT_BINARY_DIR}/sipHYDROPyHYDROData_Application.cc)
LIST(APPEND _output ${CMAKE_CURRENT_BINARY_DIR}/sipHYDROPyHYDROData_ArtificialObject.cc)
SET(${outfiles} ${${outfiles}} ${CMAKE_CURRENT_BINARY_DIR}/sipHYDROPyHYDROData_ArtificialObject.cc)
public: // Redefined OCAF methods
//! Return name of resource (i.e. "Standard")
- Standard_CString ResourcesName();
+ HYDRODATA_EXPORT Standard_CString ResourcesName();
//! Return format (i.e "MDTV-Standard")
//! \param theFormats sequence of allowed formats for input/output
- virtual void Formats(TColStd_SequenceOfExtendedString& theFormats);
+ HYDRODATA_EXPORT virtual void Formats(TColStd_SequenceOfExtendedString& theFormats);
//! Constructor
//! Use method GetInstance() method to obtain
//! the static instance of the object (or derive your own application)
- HYDROData_Application();
+ HYDRODATA_EXPORT HYDROData_Application();
// CASCADE RTTI
DEFINE_STANDARD_RTTI(HYDROData_Application)
--- /dev/null
+// Copyright (C) 2007-2013 CEA/DEN, EDF R&D, OPEN CASCADE
+//
+// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
+// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
+//
+// 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.
+//
+// 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
+//
+
+%ExportedHeaderCode
+#include <HYDROData_Application.h>
+%End
+
+class HYDROData_Application
+{
+
+%TypeHeaderCode
+#include <HYDROData_Application.h>
+%End
+
+public: // useful methods inside of the package
+
+ //! Retuns the application: one per process
+ static HYDROData_Application* GetApplication();
+
+public: // Redefined OCAF methods
+ //! Return name of resource (i.e. "Standard")
+ const char* ResourcesName();
+ //! Constructor
+ //! Use method GetInstance() method to obtain
+ //! the static instance of the object (or derive your own application)
+ HYDROData_Application();
+};
\ No newline at end of file