]> gerrit.simantics Code Review - simantics/fmil.git/blob - org.simantics.fmil.core/native/FMILibrary/src/Import/src/FMI1/fmi1_import_impl.h
Merge remote-tracking branch 'origin/master' into release/1.35.1
[simantics/fmil.git] / org.simantics.fmil.core / native / FMILibrary / src / Import / src / FMI1 / fmi1_import_impl.h
1 /*\r
2     Copyright (C) 2012 Modelon AB\r
3 \r
4     This program is free software: you can redistribute it and/or modify\r
5     it under the terms of the BSD style license.
6 \r
7     This program is distributed in the hope that it will be useful,\r
8     but WITHOUT ANY WARRANTY; without even the implied warranty of\r
9     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
10     FMILIB_License.txt file for more details.\r
11 \r
12     You should have received a copy of the FMILIB_License.txt file\r
13     along with this program. If not, contact Modelon AB <http://www.modelon.com>.\r
14 */\r
15 \r
16 \r
17 \r
18 /** \file fmi1_import_impl.h\r
19 */\r
20 \r
21 #ifndef FMI1_IMPORT_IMPL_H_\r
22 #define FMI1_IMPORT_IMPL_H_\r
23 \r
24 \r
25 #include <FMI1/fmi1_import.h>\r
26 #include <FMI1/fmi1_xml_model_description.h>\r
27 \r
28 #include "../FMI/fmi_import_context_impl.h"\r
29 #include "../src/FMI1/fmi1_capi_impl.h"\r
30 \r
31 \r
32 #ifdef __cplusplus\r
33 extern "C" {\r
34 #endif\r
35 \r
36 struct fmi1_import_t {  \r
37         char* dirPath;\r
38         char* location;\r
39         jm_callbacks* callbacks;\r
40         fmi1_xml_model_description_t* md;\r
41         fmi1_capi_t* capi;\r
42         int registerGlobally;\r
43         jm_vector(char) logMessageBufferCoded;\r
44         jm_vector(char) logMessageBufferExpanded;\r
45 };\r
46 \r
47 extern jm_callbacks fmi1_import_active_fmu_store_callbacks;\r
48 \r
49 extern jm_vector(jm_voidp) fmi1_import_active_fmu_store;\r
50 \r
51 extern jm_vector(jm_voidp)* fmi1_import_active_fmu;\r
52 \r
53 #ifdef __cplusplus\r
54 }\r
55 #endif\r
56 #endif\r