source: NonGTP/include/fltk/FL_API.h @ 769

Revision 769, 2.1 KB checked in by gumbau, 18 years ago (diff)

FLTK imported to SVN repository to be linked agains the GeoTool? application

Line 
1// "$Id: FL_API.h 3861 2004-10-01 07:07:53Z spitzak $"
2//
3// Stuff needed to compile DLL's on Windows. These symbols pollute all
4// the header files. Make sure you put them on anything you want to go
5// into a DLL!
6//
7// I also put here some typedefs that fltk uses everywhere.
8//
9// Copyright 1998-2004 by Bill Spitzak and others.
10//
11// This library is free software; you can redistribute it and/or
12// modify it under the terms of the GNU Library General Public
13// License as published by the Free Software Foundation; either
14// version 2 of the License, or (at your option) any later version.
15//
16// This library is distributed in the hope that it will be useful,
17// but WITHOUT ANY WARRANTY; without even the implied warranty of
18// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
19// Library General Public License for more details.
20//
21// You should have received a copy of the GNU Library General Public
22// License along with this library; if not, write to the Free Software
23// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
24// USA.
25//
26// Please report all bugs and problems to "fltk-bugs@fltk.org".
27
28#ifndef FL_API
29
30#if !defined(DOXYGEN) && defined(_WIN32) && defined(FL_SHARED)
31#  ifdef FL_LIBRARY
32#    define FL_API      __declspec(dllexport)
33#  else
34#    define FL_API      __declspec(dllimport)
35#  endif
36#  ifdef FL_IMAGES_LIBRARY
37#    define FL_IMAGES_API       __declspec(dllexport)
38#  else
39#    define FL_IMAGES_API       __declspec(dllimport)
40#  endif
41#  ifdef FL_GLUT_LIBRARY
42#    define FL_GLUT_API         __declspec(dllexport)
43#  else
44#    define FL_GLUT_API         __declspec(dllimport)
45#  endif
46#  ifdef FL_FORMS_LIBRARY
47#    define FL_FORMS_API        __declspec(dllexport)
48#  else
49#    define FL_FORMS_API        __declspec(dllimport)
50#  endif
51#  ifdef FL_GL_LIBRARY
52#    define FL_GL_API           __declspec(dllexport)
53#  else
54#    define FL_GL_API           __declspec(dllimport)
55#  endif
56#else
57#  define FL_API
58#  define FL_IMAGES_API
59#  define FL_GLUT_API
60#  define FL_FORMS_API
61#  define FL_GL_API
62#endif
63
64typedef unsigned char uchar;
65
66#endif
67
68//
69// End of "$Id: FL_API.h 3861 2004-10-01 07:07:53Z spitzak $".
70//
Note: See TracBrowser for help on using the repository browser.