]> gerrit.simantics Code Review - simantics/fmil.git/blob - org.simantics.fmil.core/native/FMILibrary/src/Import/src/FMI2/fmi2_import_impl.h
Switch to full JavaSE-11+ compatibility
[simantics/fmil.git] / org.simantics.fmil.core / native / FMILibrary / src / Import / src / FMI2 / fmi2_import_impl.h
1 /*\r
2     Copyright (C) 2012 Modelon AB\r
3 \r
4     This program is free software: you can redistribute it and/or modify\r
5     it under the terms of the BSD style license.
6 \r
7     This program is distributed in the hope that it will be useful,\r
8     but WITHOUT ANY WARRANTY; without even the implied warranty of\r
9     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
10     FMILIB_License.txt file for more details.\r
11 \r
12     You should have received a copy of the FMILIB_License.txt file\r
13     along with this program. If not, contact Modelon AB <http://www.modelon.com>.\r
14 */\r
15 \r
16 \r
17 \r
18 /** \file fmi2_import_impl.h\r
19 */\r
20 \r
21 #ifndef FMI2_IMPORT_IMPL_H_\r
22 #define FMI2_IMPORT_IMPL_H_\r
23 \r
24 \r
25 #include <FMI2/fmi2_import.h>\r
26 #include <FMI2/fmi2_xml_model_description.h>\r
27 \r
28 #include "../FMI/fmi_import_context_impl.h"\r
29 #include "../src/FMI2/fmi2_capi_impl.h"\r
30 \r
31 \r
32 #ifdef __cplusplus\r
33 extern "C" {\r
34 #endif\r
35 \r
36 struct fmi2_import_t {  \r
37         char* dirPath;\r
38         char* resourceLocation;\r
39         jm_callbacks* callbacks;\r
40         fmi2_xml_model_description_t* md;\r
41         fmi2_capi_t* capi;\r
42         jm_vector(char) logMessageBufferCoded;\r
43         jm_vector(char) logMessageBufferExpanded;\r
44 };\r
45 \r
46 #ifdef __cplusplus\r
47 }\r
48 #endif\r
49 #endif\r