]> gerrit.simantics Code Review - simantics/fmil.git/blobdiff - org.simantics.fmil.core/native/FMILibrary/src/Import/src/FMI1/fmi1_import_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 / FMI1 / fmi1_import_impl.h
diff --git a/org.simantics.fmil.core/native/FMILibrary/src/Import/src/FMI1/fmi1_import_impl.h b/org.simantics.fmil.core/native/FMILibrary/src/Import/src/FMI1/fmi1_import_impl.h
new file mode 100644 (file)
index 0000000..9a3ff89
--- /dev/null
@@ -0,0 +1,56 @@
+/*\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
+\r
+\r
+/** \file fmi1_import_impl.h\r
+*/\r
+\r
+#ifndef FMI1_IMPORT_IMPL_H_\r
+#define FMI1_IMPORT_IMPL_H_\r
+\r
+\r
+#include <FMI1/fmi1_import.h>\r
+#include <FMI1/fmi1_xml_model_description.h>\r
+\r
+#include "../FMI/fmi_import_context_impl.h"\r
+#include "../src/FMI1/fmi1_capi_impl.h"\r
+\r
+\r
+#ifdef __cplusplus\r
+extern "C" {\r
+#endif\r
+\r
+struct fmi1_import_t { \r
+       char* dirPath;\r
+       char* location;\r
+       jm_callbacks* callbacks;\r
+       fmi1_xml_model_description_t* md;\r
+       fmi1_capi_t* capi;\r
+       int registerGlobally;\r
+       jm_vector(char) logMessageBufferCoded;\r
+       jm_vector(char) logMessageBufferExpanded;\r
+};\r
+\r
+extern jm_callbacks fmi1_import_active_fmu_store_callbacks;\r
+\r
+extern jm_vector(jm_voidp) fmi1_import_active_fmu_store;\r
+\r
+extern jm_vector(jm_voidp)* fmi1_import_active_fmu;\r
+\r
+#ifdef __cplusplus\r
+}\r
+#endif\r
+#endif\r