dllexport.h
Go to the documentation of this file.
1 /*
2  * Katana Native Interface - A C++ interface to the robot arm Katana.
3  * Copyright (C) 2005 Neuronics AG
4  * Check out the AUTHORS file for detailed contact information.
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; either version 2 of the License, or
9  * (at your option) any later version.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with this program; if not, write to the Free Software
18  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19  */
20 
21 
22 
23 
24 #ifndef _DLLEXPORT_H_
25 #define _DLLEXPORT_H_
26 
27 #undef DLLDIR
28 #undef DLLDIR_IK
29 
30 #define DLLDIR
31 #define DLLDIR_IK
32 #define DLLDIR_LM
33 
34 #ifdef DLLDIR_EXPORT // export DLL information
35 # undef DLLDIR
36 //# undef DLLDIR_IK
37 # define DLLDIR __declspec(dllexport)
38 //# define DLLDIR_IK __declspec(dllexport)
39 #endif
40 
41 #ifdef DLLDIR_IMPORT // import DLL information
42 # undef DLLDIR
43 # undef DLLDIR_IK
44 # undef DLLDIR_LM
45 # define DLLDIR __declspec(dllimport)
46 # define DLLDIR_IK __declspec(dllimport)
47 # define DLLDIR_LM __declspec(dllimport)
48 #endif
49 
50 #ifdef DLLDIR_INVKIN_EXPORT
51 # undef DLLDIR
52 # undef DLLDIR_IK
53 # define DLLDIR
54 //# define DLLDIR __declspec(dllimport)
55 # define DLLDIR_IK __declspec(dllexport)
56 #endif
57 
58 #ifdef DLLDIR_LM_EXPORT
59 # undef DLLDIR
60 # undef DLLDIR_IK
61 # undef DLLDIR_LM
62 # define DLLDIR
63 # define DLLDIR_IK
64 //# define DLLDIR __declspec(dllimport)
65 //# define DLLDIR_IK __declspec(dllimport)
66 # define DLLDIR_LM __declspec(dllexport)
67 #endif
68 
69 #ifdef WIN32
70 #pragma warning( disable: 4251 )
71 #pragma warning( disable: 4275 )
72 #endif
73 
74 #endif
75 


kni
Author(s): Martin Günther
autogenerated on Fri Jan 3 2020 04:01:16