]>
Commit | Line | Data |
---|---|---|
2b5f62a0 VZ |
1 | ///////////////////////////////////////////////////////////////////////////// |
2 | // Name: fldefs.h | |
3 | // Purpose: Declaration of global types and defines. | |
4 | // Author: David M. Falkinder (david_falkinder@hp.com) | |
5 | // Modified by: | |
6 | // Created: 18/09/2002 | |
7 | // RCS-ID: $Id$ | |
8 | // Copyright: (c) David M. Falkinder | |
9 | // Licence: wxWindows licence | |
10 | ///////////////////////////////////////////////////////////////////////////// | |
11 | ||
12 | #ifndef __fldefs_H_INCLUDED__ | |
13 | #define __fldefs_H_INCLUDED__ | |
14 | ||
15 | #include "wx/defs.h" | |
16 | ||
17 | /* | |
18 | * If we're using wx in Dynamic Library format do we | |
19 | * want FL to be in DLL form as well? | |
20 | */ | |
21 | #if defined(WXUSINGDLL) && \ | |
22 | (defined(WXMAKING_FL_DLL) || defined(WXUSING_FL_DLL)) | |
23 | ||
24 | #if defined(WXMAKING_FL_DLL) | |
25 | // When building the DLL WXFLDECLSPEC exports classes | |
26 | # define WXFL_DECLSPEC WXEXPORT | |
27 | #elif defined(WXUSING_FL_DLL) | |
28 | // When building the DLL WXFLDECLSPEC imports classes | |
29 | # define WXFL_DECLSPEC WXIMPORT | |
30 | #endif // defined(WXBUILD_FL_DLL) | |
31 | ||
32 | #else | |
33 | // When building the static library nullify the effect of WXFL_DECLSPEC | |
34 | #define WXFL_DECLSPEC | |
35 | #endif // WXUSINGDLL && (WXMAKING_FL_DLL || WXUSING_FL_DLL) | |
36 | ||
37 | /////////////////////////////////////////////////////////////////////////////// | |
38 | // Override some of the wxArray functions to | |
39 | // include our definitions | |
40 | /////////////////////////////////////////////////////////////////////////////// | |
41 | #define WXFL_DEFINE_ARRAY(c,l) \ | |
42 | class WXFL_DECLSPEC l; \ | |
43 | WX_DEFINE_ARRAY(c,l) | |
44 | ||
45 | #define WXFL_DEFINE_ARRAY_LONG(t,l) \ | |
46 | class WXFL_DECLSPEC l; \ | |
47 | WX_DEFINE_ARRAY_LONG(t,l) | |
48 | ||
49 | ||
50 | #endif // __fldefs_H_INCLUDED__ |