]> gerrit.simantics Code Review - simantics/fmil.git/blob - org.simantics.fmil.core/native/FMILibrary/src/XML/src/FMI1/fmi1_xml_capabilities_impl.h
Switch to full JavaSE-11+ compatibility
[simantics/fmil.git] / org.simantics.fmil.core / native / FMILibrary / src / XML / src / FMI1 / fmi1_xml_capabilities_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 FMI1_XML_CAPABILITIES_IMPL_H
17 #define FMI1_XML_CAPABILITIES_IMPL_H
18
19 #include <FMI1/fmi1_xml_capabilities.h>
20 #ifdef __cplusplus
21 extern "C" {
22 #endif
23
24 struct fmi1_xml_capabilities_t {
25     int canHandleVariableCommunicationStepSize;
26     int canHandleEvents;
27     int canRejectSteps;
28     int canInterpolateInputs;
29     unsigned int maxOutputDerivativeOrder;
30     int canRunAsynchronuously;
31     int canSignalEvents;
32     int canBeInstantiatedOnlyOncePerProcess;
33     int canNotUseMemoryManagementFunctions;
34 };
35
36 fmi1_xml_capabilities_t *fmi1_xml_default_capabilities(jm_callbacks *cb);
37
38 #ifdef __cplusplus
39 }
40 #endif
41 #endif /* FMI1_XML_CAPABILITIES_IMPL_H */