/* Copyright (C) 1998, 1999, 2001, 2002 Jérôme Lecomte This file is part of XLW, a free-software/open-source C++ wrapper of the Excel C API - http://xlw.sourceforge.net/ XLW is free software: you can redistribute it and/or modify it under the terms of the XLW license. You should have received a copy of the license along with this program; if not, please email xlw-users@lists.sf.net This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the license for more details. */ #ifndef INC_EXCEL32_API_H #define INC_EXCEL32_API_H /*! \file EXCEL32_API.h \brief Defines the EXCEL32_API macro that flags exported classes of the framework. */ #include /*! \defgroup macros Global XLW macros Global definitions and quite a few macros which help porting the code to different compilers @{ */ //! version hexadecimal number #define XLW_HEX_VERSION 0x010201a0 //! version string #ifdef XLW_DEBUG #define XLW_VERSION "1.2.1a0-cvs-debug" #else #define XLW_VERSION "1.2.1a0-cvs" #endif //! global trace level (may be superseded locally by a greater value) #define XLW_TRACE_LEVEL 0 #if defined(DEBUG_HEADERS) #pragma DEBUG_HEADERS #endif //! Place holder for import/export declaration #if defined (_DLL) && defined(XLW_IMPORTEXPORT) #ifdef EXCEL32_EXPORTS #define EXCEL32_API PORT_EXPORT_SYMBOL #else #define EXCEL32_API PORT_IMPORT_SYMBOL #endif #else #define EXCEL32_API #endif /*! @} */ #endif