| 1 | /*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 2 | |
| 3 | Header: JSBSim_API.h |
| 4 | Author: B. Coconnier |
| 5 | Date started: Jun 05, 2022 |
| 6 | |
| 7 | ---------- Copyright (C) 2022 B. Coconnier ([email protected]) ----------- |
| 8 | |
| 9 | This program is free software; you can redistribute it and/or modify it under |
| 10 | the terms of the GNU Lesser General Public License as published by the Free |
| 11 | Software Foundation; either version 2 of the License, or (at your option) any |
| 12 | later version. |
| 13 | |
| 14 | This program is distributed in the hope that it will be useful, but WITHOUT |
| 15 | ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS |
| 16 | FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more |
| 17 | details. |
| 18 | |
| 19 | You should have received a copy of the GNU Lesser General Public License along |
| 20 | with this program; if not, write to the Free Software Foundation, Inc., 59 |
| 21 | Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
| 22 | |
| 23 | Further information about the GNU Lesser General Public License can also be |
| 24 | found on the world wide web at http://www.gnu.org. |
| 25 | |
| 26 | HISTORY |
| 27 | -------------------------------------------------------------------------------- |
| 28 | Jun 05, 2022 BC Created |
| 29 | |
| 30 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 31 | SENTRY |
| 32 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/ |
| 33 | |
| 34 | #ifndef JSBSIM_API_H |
| 35 | #define JSBSIM_API_H |
| 36 | |
| 37 | #if defined(_WIN32) && !defined(JSBSIM_STATIC_LINK) |
| 38 | #ifdef JSBSIM_EXPORT |
| 39 | #define JSBSIM_API __declspec(dllexport) |
| 40 | #else |
| 41 | #define JSBSIM_API __declspec(dllimport) |
| 42 | #endif |
| 43 | #else |
| 44 | #define JSBSIM_API |
| 45 | #endif |
| 46 | |
| 47 | #endif /* JSBSIM_API_H */ |