]> gerrit.simantics Code Review - simantics/fmil.git/blobdiff - org.simantics.fmil.core/native/FMILibrary/src/XML/src/FMI1/fmi1_xml_capabilities_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 / FMI1 / fmi1_xml_capabilities_impl.h
diff --git a/org.simantics.fmil.core/native/FMILibrary/src/XML/src/FMI1/fmi1_xml_capabilities_impl.h b/org.simantics.fmil.core/native/FMILibrary/src/XML/src/FMI1/fmi1_xml_capabilities_impl.h
new file mode 100644 (file)
index 0000000..689a627
--- /dev/null
@@ -0,0 +1,41 @@
+/*
+    Copyright (C) 2012 Modelon AB
+
+    This program is free software: you can redistribute it and/or modify
+    it under the terms of the BSD style license.
+
+     This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    FMILIB_License.txt file for more details.
+
+    You should have received a copy of the FMILIB_License.txt file
+    along with this program. If not, contact Modelon AB <http://www.modelon.com>.
+*/
+
+#ifndef FMI1_XML_CAPABILITIES_IMPL_H
+#define FMI1_XML_CAPABILITIES_IMPL_H
+
+#include <FMI1/fmi1_xml_capabilities.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+struct fmi1_xml_capabilities_t {
+    int canHandleVariableCommunicationStepSize;
+    int canHandleEvents;
+    int canRejectSteps;
+    int canInterpolateInputs;
+    unsigned int maxOutputDerivativeOrder;
+    int canRunAsynchronuously;
+    int canSignalEvents;
+    int canBeInstantiatedOnlyOncePerProcess;
+    int canNotUseMemoryManagementFunctions;
+};
+
+fmi1_xml_capabilities_t *fmi1_xml_default_capabilities(jm_callbacks *cb);
+
+#ifdef __cplusplus
+}
+#endif
+#endif /* FMI1_XML_CAPABILITIES_IMPL_H */