]> gerrit.simantics Code Review - simantics/fmil.git/blob - org.simantics.fmil.core/native/FMILibrary/src/Import/src/FMI/fmi_import_context_impl.h
Switch to full JavaSE-11+ compatibility
[simantics/fmil.git] / org.simantics.fmil.core / native / FMILibrary / src / Import / src / FMI / fmi_import_context_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 #ifndef FMI_XML_CONTEXT_IMPL_H\r
17 #define FMI_XML_CONTEXT_IMPL_H\r
18 \r
19 #include <expat.h>\r
20 \r
21 #include <JM/jm_vector.h>\r
22 #include <JM/jm_stack.h>\r
23 #include <JM/jm_named_ptr.h>\r
24 \r
25 #include <FMI1/fmi1_xml_model_description.h>\r
26 #include <FMI/fmi_xml_context.h>\r
27 \r
28 #ifdef __cplusplus\r
29 extern "C" {\r
30 #endif\r
31 \r
32 struct fmi_xml_context_t {\r
33         jm_callbacks* callbacks;\r
34 \r
35     XML_Parser parser;\r
36 \r
37         fmi_version_enu_t fmi_version;\r
38
39     int configuration;\r
40 };\r
41 \r
42 #ifdef __cplusplus\r
43 }\r
44 #endif\r
45 \r
46 #endif /* FMI_XML_CONTEXT_H */