KatanaNativeInterface  $VERSION$
dllexport.h
Go to the documentation of this file.
00001 /*
00002  *   Katana Native Interface - A C++ interface to the robot arm Katana.
00003  *   Copyright (C) 2005 Neuronics AG
00004  *   Check out the AUTHORS file for detailed contact information.
00005  *
00006  *   This program is free software; you can redistribute it and/or modify
00007  *   it under the terms of the GNU General Public License as published by
00008  *   the Free Software Foundation; either version 2 of the License, or
00009  *   (at your option) any later version.
00010  *
00011  *   This program is distributed in the hope that it will be useful,
00012  *   but WITHOUT ANY WARRANTY; without even the implied warranty of
00013  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00014  *   GNU General Public License for more details.
00015  *
00016  *   You should have received a copy of the GNU General Public License
00017  *   along with this program; if not, write to the Free Software
00018  *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00019  */
00020 
00021 
00022 
00023 
00024 #ifndef _DLLEXPORT_H_
00025 #define _DLLEXPORT_H_
00026 
00027 #undef DLLDIR
00028 #undef DLLDIR_IK
00029 
00030 #define DLLDIR
00031 #define DLLDIR_IK
00032 #define DLLDIR_LM
00033 
00034 #ifdef DLLDIR_EXPORT // export DLL information
00035 #       undef DLLDIR
00036 #       undef DLLDIR_IK
00037 #       define DLLDIR  __declspec(dllexport)  
00038 #       define DLLDIR_IK __declspec(dllexport)
00039 #endif
00040 
00041 #ifdef DLLDIR_IMPORT // import DLL information
00042 #       undef DLLDIR
00043 #       undef DLLDIR_IK
00044 #       undef DLLDIR_LM
00045 #       define DLLDIR __declspec(dllimport)
00046 #       define DLLDIR_IK __declspec(dllimport)
00047 #       define DLLDIR_LM __declspec(dllimport)
00048 #endif
00049 
00050 #ifdef DLLDIR_INVKIN_EXPORT
00051 #       undef DLLDIR
00052 #       undef DLLDIR_IK
00053 #       define DLLDIR  __declspec(dllimport)   
00054 #       define DLLDIR_IK  __declspec(dllexport)
00055 #endif
00056 
00057 #ifdef DLLDIR_LM_EXPORT
00058 #       undef DLLDIR
00059 #       undef DLLDIR_IK
00060 #       undef DLLDIR_LM
00061 #       define DLLDIR  __declspec(dllimport)   
00062 #       define DLLDIR_IK  __declspec(dllimport)
00063 #       define DLLDIR_LM  __declspec(dllexport)
00064 #endif
00065 
00066 #ifdef WIN32
00067 #pragma warning( disable: 4251 )
00068 #pragma warning( disable: 4275 )
00069 #endif
00070 
00071 #endif
00072