2 * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
3 * Copyright (C) 2010 - DIGITEO - Allan CORNET
5 * Copyright (C) 2012 - 2016 - Scilab Enterprises
7 * This file is hereby licensed under the terms of the GNU GPL v2.0,
8 * pursuant to article 5.3.4 of the CeCILL v.2.1.
9 * This file was originally licensed under the terms of the CeCILL v2.1,
10 * and continues to be available under such terms.
11 * For more information, see the COPYING file which you should have received
12 * along with this program.
15 /*--------------------------------------------------------------------------*/
16 #ifndef __GETVERSION_H__
17 #define __GETVERSION_H__
23 * get Scilab Version as a int array
24 * @param[out] size of returned array
25 * @return int array ver
26 * ver[0] Major version
27 * ver[1] Minor version
28 * ver[2] Maintenance version
31 int *getScilabVersion(int *sizeArrayReturned);
34 * get Scilab version major number
35 * @return scilab version major
37 int getScilabVersionMajor();
40 * get Scilab version minor number
41 * @return scilab version minor
43 int getScilabVersionMinor();
46 * get Scilab version maintenance number
47 * @return scilab version maintenance
49 int getScilabVersionMaintenance();
52 * get Scilab version timestamp number
53 * @return scilab version timestamp
55 int getScilabVersionTimestamp();
58 * get Scilab version as a string
59 * @return scilab version
61 char* getScilabVersionAsString(void);
64 * get Scilab version as wide string
65 * @return scilab version
67 wchar_t* getScilabVersionAsWideString(void);
70 * get module version as a int array
71 * @param[in] module name
72 * @param[out] size of returned array
73 * @return int array ver
74 * ver[0] Major version
75 * ver[1] Minor version
76 * ver[2] Maintenance version
79 int* getModuleVersion(wchar_t* _pwstModule, int *sizeArrayReturned);
82 * get module version as a string
83 * @param[in] module name
84 * @return scilab version
86 wchar_t* getModuleVersionInfoAsString(wchar_t* _pwstModule);
89 * get options used for this version
91 * @return char ** with options used
93 wchar_t** getScilabVersionOptions(int *sizeArrayReturned);
97 * @return 'release' or 'debug'
99 wchar_t* getReleaseMode(void);
103 * @return date of version
105 wchar_t* getReleaseDate(void);
109 * @return time of version
111 wchar_t* getReleaseTime(void);
114 * get compiler used to build scilab
115 * @return 'VC++', 'ICC', 'GCC'
117 wchar_t* getCompilerUsedToBuildScilab(void);
120 * get Compiler Architecture
121 * @return 'x86' or 'x64'
123 wchar_t* getCompilerArchitecture(void);
126 * with modelica compiler ?
127 * @return TRUE or FALSE
129 BOOL with_modelica_compiler(void);
133 * @return TRUE or FALSE
137 #endif /* __GETVERSION_H__ */
138 /*--------------------------------------------------------------------------*/