1 #ifndef _ActuatorsDLL_h_ 2 #define _ActuatorsDLL_h_ 3 /* -------------------------------------------------------------------------- * 4 * OpenSim: osimActuatorsDLL.h * 5 * -------------------------------------------------------------------------- * 6 * The OpenSim API is a toolkit for musculoskeletal modeling and simulation. * 7 * See http://opensim.stanford.edu and the NOTICE file for more information. * 8 * OpenSim is developed at Stanford University and supported by the US * 9 * National Institutes of Health (U54 GM072970, R24 HD065690) and by DARPA * 10 * through the Warrior Web program. * 11 * * 12 * Copyright (c) 2005-2017 Stanford University and the Authors * 13 * Author(s): Frank C. Anderson * 14 * * 15 * Licensed under the Apache License, Version 2.0 (the "License"); you may * 16 * not use this file except in compliance with the License. You may obtain a * 17 * copy of the License at http://www.apache.org/licenses/LICENSE-2.0. * 18 * * 19 * Unless required by applicable law or agreed to in writing, software * 20 * distributed under the License is distributed on an "AS IS" BASIS, * 21 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * 22 * See the License for the specific language governing permissions and * 23 * limitations under the License. * 24 * -------------------------------------------------------------------------- */ 25 26 /* Note: This code was originally developed by Realistic Dynamics Inc. 27 * Author: Frank C. Anderson 28 */ 29 30 // UNIX PLATFORM 31 #ifndef _WIN32 32 33 #define OSIMACTUATORS_API 34 35 // WINDOWS PLATFORM 36 #else 37 38 #define WIN32_LEAN_AND_MEAN 39 #define NOMINMAX 40 #include <windows.h> 41 #ifdef OSIMACTUATORS_EXPORTS 42 #define OSIMACTUATORS_API __declspec(dllexport) 43 #else 44 #define OSIMACTUATORS_API __declspec(dllimport) 45 #endif 46 47 #endif // PLATFORM 48 49 50 #endif // __ActuatorsDLL_h__ 51