Salome HOME
Parametric API high level for the primitive "Box".
[modules/shaper.git] / src / PrimitivesAPI / PrimitivesAPI.i
diff --git a/src/PrimitivesAPI/PrimitivesAPI.i b/src/PrimitivesAPI/PrimitivesAPI.i
new file mode 100644 (file)
index 0000000..a84b85a
--- /dev/null
@@ -0,0 +1,25 @@
+/* PrimitivesAPI.i */
+
+%module PrimitivesAPI
+
+%{
+  #include "PrimitivesAPI_swig.h"
+%}
+
+%include "doxyhelp.i"
+
+// import other modules
+%import "ModelHighAPI.i"
+
+// to avoid error on this
+#define PRIMITIVESAPI_EXPORT
+
+// standard definitions
+%include "typemaps.i"
+%include "std_shared_ptr.i"
+
+// shared pointers
+%shared_ptr(PrimitivesAPI_Box)
+
+// all supported interfaces
+%include "PrimitivesAPI_Box.h"