[main]    [up]  

WxExtLib - WxExtLibConfig_Auto.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: #ifndef _INCLUDED_WxExtLibConfig_Auto_h
00042: #define _INCLUDED_WxExtLibConfig_Auto_h
00043: 
00044: //=========================================================================
00045: // automatic setting of global defines
00046: //=========================================================================
00047: 
00048: //-------------------------------------------------------------------------
00049: // class, function, static variable export declarator: default to none
00050: //
00051: // possible alternatives for M_WxExtLib_ExportDecl in Win32/VC++ compilations:
00052: // - __declspec(dllexport)
00053: // - __declspec(dllimport)
00054: 
00055: // TEST
00056: // putting classes into DLL is untested
00057: 
00058: #ifndef M_WxExtLib_ExportDecl
00059: #   if (defined M_WxExtLib_IsExtLibDllExport)
00060: #       define M_WxExtLib_ExportDecl __declspec(dllexport)
00061: #   elif (defined M_WxExtLib_IsExtLibDllImport)
00062: #       define M_WxExtLib_ExportDecl __declspec(dllimport)
00063: #   else
00064: #       define M_WxExtLib_ExportDecl /* empty */
00065: #   endif
00066: #else
00067:     // use supplied define
00068: #endif
00069: 
00070: //-------------------------------------------------------------------------
00071: 
00072: // MessageFormat wxString interface defining
00073: //     wxMessageFormatter/wxFormat/wxFormatMessage()
00074: // is required for WxExtLib:
00075: #define M_MessageFormat_WxString
00076: 
00077: //-------------------------------------------------------------------------
00078: // wxMinimalTimeInterval: use ::GetTickCount() instead of
00079: // wxGetLocalTimeMillis() if possible - see declaration of
00080: // class wxMinimalTimeInterval
00081: 
00082: #if ((defined WIN32) || (defined _WIN32))
00083: #   define M_MinimalTimeInterval_UseGetTickCount
00084: #endif
00085: 
00086: //-------------------------------------------------------------------------
00087: 
00088: #endif
00089: 
  [main]    [up]  
DaicasWeb v.1.50.0102  //   Daniel Käps  //   April 12, 2007  //   Impressum / Imprint 
http://www.daicas.net/WxExtLib/src/WxExtLibConfig_Auto.h.html