]> gerrit.simantics Code Review - simantics/fmil.git/blob - org.simantics.fmil.core/native/FMUSimulator/include/FMIL/Util/FMI/fmi_version.h
Renamed org.simantics.fmil to org.simantics.fmil.core to prevent having bundles and...
[simantics/fmil.git] / org.simantics.fmil.core / native / FMUSimulator / include / FMIL / Util / FMI / fmi_version.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_VERSION_H
17 #define FMI_VERSION_H
18 #include <fmilib_config.h>
19
20 #ifdef __cplusplus
21 extern "C" {
22 #endif
23
24 /**
25         @file fmi_version.h 
26         \brief Enum defining supported FMI versions.
27
28         */
29 /** \addtogroup jm_utils
30   * @{
31 */
32
33 /** \brief Suported versions of FMI standard */\r
34 typedef enum\r
35\r
36         fmi_version_unknown_enu = 0,\r
37         fmi_version_1_enu,\r
38         fmi_version_2_0_enu,\r
39         fmi_version_unsupported_enu\r
40 } fmi_version_enu_t;\r
41
42 /** Convert version enum into string */
43 FMILIB_EXPORT
44 const char * fmi_version_to_string(fmi_version_enu_t v);
45
46 /** @} */
47 #ifdef __cplusplus
48 }
49 #endif
50
51 /* JM_TYPES_H */
52 #endif