KatanaNativeInterface
$VERSION$
Main Page
Modules
Namespaces
Classes
Files
File List
File Members
include
common
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 __declspec(dllimport)
54
# define DLLDIR_IK __declspec(dllexport)
55
#endif
56
57
#ifdef DLLDIR_LM_EXPORT
58
# undef DLLDIR
59
# undef DLLDIR_IK
60
# undef DLLDIR_LM
61
# define DLLDIR __declspec(dllimport)
62
# define DLLDIR_IK __declspec(dllimport)
63
# define DLLDIR_LM __declspec(dllexport)
64
#endif
65
66
#ifdef WIN32
67
#pragma warning( disable: 4251 )
68
#pragma warning( disable: 4275 )
69
#endif
70
71
#endif
72
Generated by
1.8.1.1