Salome HOME
0022616: [CEA 1038] Improve the quality of stl and vtk exports
[modules/geom.git] / src / STLPlugin / STLPlugin_IOperations_i.hh
diff --git a/src/STLPlugin/STLPlugin_IOperations_i.hh b/src/STLPlugin/STLPlugin_IOperations_i.hh
new file mode 100644 (file)
index 0000000..f0733e1
--- /dev/null
@@ -0,0 +1,52 @@
+// Copyright (C) 2014  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, 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.
+//
+// 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
+//
+
+#ifndef _STLPlugin_IOperations_i_HeaderFile
+#define _STLPlugin_IOperations_i_HeaderFile
+
+// idl includes
+#include <SALOMEconfig.h>
+#include CORBA_SERVER_HEADER( GEOM_Gen )
+#include CORBA_SERVER_HEADER( STLPlugin )
+
+// internal includes
+#include "STLPlugin_Engine.hxx"
+
+// GEOM includes
+#include "GEOM_IOperations_i.hh"
+
+class STLPlugin_IOperations;
+
+class STLPLUGINENGINE_EXPORT STLPlugin_IOperations_i :
+      public virtual POA_GEOM::ISTLOperations,
+      public virtual GEOM_IOperations_i
+{
+public:
+  STLPlugin_IOperations_i( PortableServer::POA_ptr thePOA,
+                          GEOM::GEOM_Gen_ptr theEngine,
+                          STLPlugin_IOperations* theImpl );
+  ~STLPlugin_IOperations_i();
+
+  void            ExportSTL( GEOM::GEOM_Object_ptr, const char*, const bool, const double, const bool );
+  GEOM::ListOfGO* ImportSTL( const char* );
+
+  STLPlugin_IOperations* GetOperations();
+};
+
+#endif