]> gerrit.simantics Code Review - simantics/fmil.git/blobdiff - org.simantics.fmil.core/native/FMILibrary/src/Import/src/FMI/fmi_import_context_impl.h
Add FMILibrary-2.0.3 to org.simantics.fmil.core\native.
[simantics/fmil.git] / org.simantics.fmil.core / native / FMILibrary / src / Import / src / FMI / fmi_import_context_impl.h
diff --git a/org.simantics.fmil.core/native/FMILibrary/src/Import/src/FMI/fmi_import_context_impl.h b/org.simantics.fmil.core/native/FMILibrary/src/Import/src/FMI/fmi_import_context_impl.h
new file mode 100644 (file)
index 0000000..d549b8c
--- /dev/null
@@ -0,0 +1,46 @@
+/*\r
+    Copyright (C) 2012 Modelon AB\r
+\r
+    This program is free software: you can redistribute it and/or modify\r
+    it under the terms of the BSD style license.
+\r
+    This program is distributed in the hope that it will be useful,\r
+    but WITHOUT ANY WARRANTY; without even the implied warranty of\r
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
+    FMILIB_License.txt file for more details.\r
+\r
+    You should have received a copy of the FMILIB_License.txt file\r
+    along with this program. If not, contact Modelon AB <http://www.modelon.com>.\r
+*/\r
+\r
+#ifndef FMI_XML_CONTEXT_IMPL_H\r
+#define FMI_XML_CONTEXT_IMPL_H\r
+\r
+#include <expat.h>\r
+\r
+#include <JM/jm_vector.h>\r
+#include <JM/jm_stack.h>\r
+#include <JM/jm_named_ptr.h>\r
+\r
+#include <FMI1/fmi1_xml_model_description.h>\r
+#include <FMI/fmi_xml_context.h>\r
+\r
+#ifdef __cplusplus\r
+extern "C" {\r
+#endif\r
+\r
+struct fmi_xml_context_t {\r
+       jm_callbacks* callbacks;\r
+\r
+    XML_Parser parser;\r
+\r
+       fmi_version_enu_t fmi_version;\r
+
+    int configuration;\r
+};\r
+\r
+#ifdef __cplusplus\r
+}\r
+#endif\r
+\r
+#endif /* FMI_XML_CONTEXT_H */
\ No newline at end of file