]> gerrit.simantics Code Review - simantics/fmil.git/blob - org.simantics.fmil.core/native/FMILibrary/src/XML/src/FMI/fmi_xml_context_impl.h
Add FMILibrary-2.0.3 to org.simantics.fmil.core\native.
[simantics/fmil.git] / org.simantics.fmil.core / native / FMILibrary / src / XML / src / FMI / fmi_xml_context_impl.h
1 /*
2     Copyright (C) 2012 Modelon AB
3
4     This program is free software: you can redistribute it and/or modify
5     it under the terms of the BSD style license.
6
7      This program is distributed in the hope that it will be useful,
8     but WITHOUT ANY WARRANTY; without even the implied warranty of
9     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
10     FMILIB_License.txt file for more details.
11
12     You should have received a copy of the FMILIB_License.txt file
13     along with this program. If not, contact Modelon AB <http://www.modelon.com>.
14 */
15
16 #ifndef FMI_XML_CONTEXT_IMPL_H
17 #define FMI_XML_CONTEXT_IMPL_H
18
19 #include <expat.h>
20 #include <fmilib_config.h>
21 #include <JM/jm_vector.h>
22 #include <JM/jm_stack.h>
23 #include <JM/jm_named_ptr.h>
24
25 #include <FMI1/fmi1_xml_model_description.h>
26 #include <FMI/fmi_xml_context.h>
27
28 #ifdef __cplusplus
29 extern "C" {
30 #endif
31
32 struct fmi_xml_context_t {
33         jm_callbacks* callbacks;\r
34 \r
35     XML_Parser parser;
36
37         fmi_version_enu_t fmi_version;
38
39     int configuration;
40 };
41
42 #ifdef __cplusplus
43 }
44 #endif
45
46 #endif /* FMI_XML_CONTEXT_H */