/*========================================================================= Program: wxMaracas Module: $RCSfile: marTypes.h,v $ Language: C++ Date: $Date: 2008/11/14 15:57:12 $ Version: $Revision: 1.3 $ Copyright: (c) 2002, 2003 License: This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the above copyright notice for more information. =========================================================================*/ #ifndef __MAR__KERNEL__TYPES__HXX__ #define __MAR__KERNEL__TYPES__HXX__ /*! /def MAR_KERNEL_EXPORT * \brief Library export type. * * Use this constant to define your class, function or variable link type. * Ex.: class MAR_KERNEL_EXPORT myClass { ... }; * This is defined by means of other constants: * - MAR_KERNEL_MAKING_DLL (compilation of a dll). * - MAR_KERNEL_USING_DLL (linking, ie, using the dll). * Note that if you want to build a static library, you should forget all * this fairy tale :-). */ //JHCL - Start //If we're using windows #if defined(WIN32) //If we're using a dynamic library # ifdef maracasVisuLib_BUILD_SHARED # define MARACASVISULIB_EXPORTS __declspec( dllexport ) # else # define MARACASVISULIB_EXPORTS //__declspec( dllimport ) # endif //maracasvisulib_EXPORTS #else # define MARACASVISULIB_EXPORTS #endif //JHCL - End #if defined(WIN32) //&& defined(MARACAS_BUILD_SHARED_LIBS) //guerapa0 # ifdef MaracasKernel_EXPORTS //querapa1 # define MAR_KERNEL_EXPORT __declspec( dllexport ) # else # define MAR_KERNEL_EXPORT //__declspec( dllimport ) # endif //MaracasKernel_EXPORTS # ifdef MaracasInterfaceWX_EXPORTS # define MAR_INTERFACEWX_EXPORT __declspec( dllexport ) # else # define MAR_INTERFACEWX_EXPORT //__declspec( dllimport ) # endif //MaracasInterfaceWX_EXPORTS #else # define MAR_KERNEL_EXPORT # define MAR_INTERFACEWX_EXPORT #endif //WIN32 // Other ridiculous constants and typedefs. Just for fun! #define MAR_DEFAULT_FILE_PARAMETERS "params.dat" #define MAR_DEFAULT_FILE_DICTIONARY "marDict.txt" #define MAR_DEFAULT_FILE_EXT_EXPERIMENT ".exp" /*! \file kgfo_typ.hxx * \brief General constants, types, enums, structs. * * This file is included by all project files. */ typedef unsigned char uchar; /*!< unsigned char redefintion. */ typedef unsigned int uint; /*!< unsigned int redefintion. */ typedef unsigned long ulong; /*!< unsigned long redefintion. */ typedef unsigned short ushort; /*!< unsigned short redefintion. */ // Is this compilation using LibIDO? //#define KGFO_USE_IDO // JPRx : Do NOT use LibIDO // Is this compilation using VTK? #define KGFO_USE_VTK #ifdef _MSC_VER #pragma warning ( disable : 4018 ) // 'this' : used in base member initializer list ... so what ! #pragma warning ( disable : 4355 ) #endif //_MSC_VER #endif // __MAR__KERNEL__TYPES__HXX__ // eof - marTypes.h