WxExtLib - WxExtLibAliases.h
00001: // -*- c++ -*-
00002: /*
00003: -------------------------------------------------------------------------
00004: This file is part of WxWidgetsExtensions library.
00005: -------------------------------------------------------------------------
00006:
00007: WxExtLib (WxWidgetsExtensions) library
00008: -----------------------------
00009:
00010: COPYRIGHT NOTICE:
00011:
00012: WxExtLib library Copyright (c) 2006-2007 Daniel Käps
00013:
00014: The WxWidgetsExtensions library and associated documentation files (the
00015: "Software") is provided "AS IS". The author(s) disclaim all
00016: warranties, expressed or implied, including, without limitation, the
00017: warranties of merchantability and of fitness for any purpose. The
00018: author(s) assume no liability for direct, indirect, incidental,
00019: special, exemplary, or consequential damages, which may result from
00020: the use of or other dealings in the Software, even if advised of the
00021: possibility of such damage.
00022:
00023: Permission is hereby granted, free of charge, to any person obtaining
00024: a copy of this Software, to deal in the Software without restriction,
00025: including without limitation the rights to use, copy, modify, merge,
00026: publish, distribute, sublicense, and/or sell copies of the Software,
00027: and to permit persons to whom the Software is furnished to do so,
00028: subject to the following conditions:
00029:
00030: 1. The origin of this source code must not be misrepresented.
00031: 2. Altered versions must be plainly marked as such and must not be
00032: misrepresented as being the original source.
00033: 3. This Copyright notice may not be removed or altered from any
00034: source or altered source distribution.
00035:
00036: End of WxExtLib library Copyright Notice
00037:
00038: -------------------------------------------------------------------------
00039: */
00040:
00041: //=========================================================================
00042:
00043: // WARN use of these defines to get dll-export/import declarators may
00044: // conflict with e.g. WX_DEFINE_ARRAY_PTR macros
00045:
00046: #if (M_IsDefineExportMagic == 1)
00047:
00048: # define class class M_WxExtLib_ExportDecl
00049: # define extern M_WxExtLib_ExportDecl extern
00050:
00051: #endif
00052:
00053: //-------------------------------------------------------------------------
00054:
00055: #if (M_IsUndefExportMagic == 1)
00056:
00057: # undef class
00058: # undef extern
00059:
00060: #endif
00061:
00062: //=========================================================================
00063:
00064: //-------------------------------------------------------------------------
00065:
00066: #if ((!defined M_IsDefineExportMagic) && (!defined M_IsUndefExportMagic))
00067:
00068: # error "please define either either M_IsDefineExportMagic or M_IsUndefExportMagic 1 (please use with care: don't forget undef-ing)"
00069:
00070: #endif
00071:
00072: //-------------------------------------------------------------------------
00073:
00074: