1 /*=========================================================================
4 Module: $RCSfile: marTypes.h,v $
6 Date: $Date: 2008/10/31 16:32:56 $
7 Version: $Revision: 1.1 $
9 Copyright: (c) 2002, 2003
12 This software is distributed WITHOUT ANY WARRANTY; without even
13 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
14 PURPOSE. See the above copyright notice for more information.
16 =========================================================================*/
18 #ifndef __MAR__KERNEL__TYPES__HXX__
19 #define __MAR__KERNEL__TYPES__HXX__
21 /*! /def MAR_KERNEL_EXPORT
22 * \brief Library export type.
24 * Use this constant to define your class, function or variable link type.
25 * Ex.: class MAR_KERNEL_EXPORT myClass { ... };
26 * This is defined by means of other constants:
27 * - MAR_KERNEL_MAKING_DLL (compilation of a dll).
28 * - MAR_KERNEL_USING_DLL (linking, ie, using the dll).
29 * Note that if you want to build a static library, you should forget all
30 * this fairy tale :-).
34 //If we're using windws
36 //If we're using a dynamic library
37 # ifdef maracasVisuLib_BUILD_SHARED
38 # define MARACASVISULIB_EXPORTS __declspec( dllexport )
40 # define MARACASVISULIB_EXPORTS //__declspec( dllimport )
41 # endif //maracasvisulib_EXPORTS
45 #if defined(WIN32) //&& defined(MARACAS_BUILD_SHARED_LIBS)
47 # ifdef MaracasKernel_EXPORTS
49 # define MAR_KERNEL_EXPORT __declspec( dllexport )
51 # define MAR_KERNEL_EXPORT //__declspec( dllimport )
52 # endif //MaracasKernel_EXPORTS
54 # ifdef MaracasInterfaceWX_EXPORTS
55 # define MAR_INTERFACEWX_EXPORT __declspec( dllexport )
57 # define MAR_INTERFACEWX_EXPORT //__declspec( dllimport )
58 # endif //MaracasInterfaceWX_EXPORTS
62 # define MAR_KERNEL_EXPORT
63 # define MAR_INTERFACEWX_EXPORT
66 // Other ridiculous constants and typedefs. Just for fun!
67 #define MAR_DEFAULT_FILE_PARAMETERS "params.dat"
68 #define MAR_DEFAULT_FILE_DICTIONARY "marDict.txt"
69 #define MAR_DEFAULT_FILE_EXT_EXPERIMENT ".exp"
72 /*! \file kgfo_typ.hxx
73 * \brief General constants, types, enums, structs.
75 * This file is included by all project files.
77 typedef unsigned char uchar; /*!< unsigned char redefintion. */
78 typedef unsigned int uint; /*!< unsigned int redefintion. */
79 typedef unsigned long ulong; /*!< unsigned long redefintion. */
80 typedef unsigned short ushort; /*!< unsigned short redefintion. */
82 // Is this compilation using LibIDO?
85 // Is this compilation using VTK?
89 #pragma warning ( disable : 4018 )
90 // 'this' : used in base member initializer list ... so what !
91 #pragma warning ( disable : 4355 )
94 #endif // __MAR__KERNEL__TYPES__HXX__