X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=org.simantics.fmil.core%2Fnative%2FFMILibrary%2Fsrc%2FXML%2Finclude%2FFMI2%2Ffmi2_xml_cosim.h;fp=org.simantics.fmil.core%2Fnative%2FFMILibrary%2Fsrc%2FXML%2Finclude%2FFMI2%2Ffmi2_xml_cosim.h;h=80daac1087552e5399c5d691236596e70f462cb0;hb=4bed8078f3f6d15b8539d7357b8815f8bfeec2c4;hp=0000000000000000000000000000000000000000;hpb=87cc423aefd98832c6c8d0979afc21551f8ceca3;p=simantics%2Ffmil.git diff --git a/org.simantics.fmil.core/native/FMILibrary/src/XML/include/FMI2/fmi2_xml_cosim.h b/org.simantics.fmil.core/native/FMILibrary/src/XML/include/FMI2/fmi2_xml_cosim.h new file mode 100644 index 0000000..80daac1 --- /dev/null +++ b/org.simantics.fmil.core/native/FMILibrary/src/XML/include/FMI2/fmi2_xml_cosim.h @@ -0,0 +1,36 @@ +/* + 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 . +*/ + +#ifndef FMI_XML_COSIM_H +#define FMI_XML_COSIM_H + +#ifdef __cplusplus +extern "C" { +#endif + +#include "fmi2_xml_model_description.h" + +const char* fmi2_xml_get_entry_point(fmi2_xml_model_description_t* ); +const char* fmi2_xml_get_mime_type(fmi2_xml_model_description_t* ); +int fmi2_xml_get_manual_start(fmi2_xml_model_description_t* ); + +size_t fmi2_xml_get_number_of_additional_models(fmi2_xml_model_description_t* md); + +const char* fmi2_xml_get_additional_model_name(fmi2_xml_model_description_t* md, size_t index); + +#ifdef __cplusplus +} +#endif +#endif /* FMI_XML_COSIM_H */