dll_wx_ext.h

Go to the documentation of this file.
00001 #ifndef WX_EXTENSIONS_DLL_DEFINITIONS
00002 #define WX_EXTENSIONS_DLL_DEFINITIONS
00003 
00004 /*****************************************************************************\
00005 *                                                                             *
00006 *  Name   : wx extensions DLL helper                                          *
00007 *  Author : Chris Koeritz                                                     *
00008 *                                                                             *
00009 *  Purpose:                                                                   *
00010 *                                                                             *
00011 *    Allows the classes in this library to work within a DLL.                 *
00012 *                                                                             *
00013 *******************************************************************************
00014 * Copyright (c) 2006-$now By Author.  This program is free software; you can  *
00015 * redistribute it and/or modify it under the terms of the GNU General Public  *
00016 * License as published by the Free Software Foundation; either version 2 of   *
00017 * the License or (at your option) any later version.  This is online at:      *
00018 *     http://www.fsf.org/copyleft/gpl.html                                    *
00019 * Please send any updates to: fred@gruntose.com                               *
00020 \*****************************************************************************/
00021 
00022 #include "definitions_wx.h"
00023 
00024 #include <basis/build_configuration.h>
00025 
00026 // windows class tags for the library:
00027 // define BUILD_WX_EXTENSIONS when you are creating the dll and
00028 // define USE_HOOPLE_DLLS when you are importing a class from the dll.
00029 #ifdef BUILD_WX_EXTENSIONS
00030   #define WX_EXTENSIONS_CLASS_STYLE    HOOPLE_DLL_EXPORT_CLASS
00031   #define WX_EXTENSIONS_FUNCTION_STYLE HOOPLE_DLL_EXPORT_FUNCTION
00032 #elif defined(USE_HOOPLE_DLLS)
00033   #define WX_EXTENSIONS_CLASS_STYLE    HOOPLE_DLL_IMPORT_CLASS
00034   #define WX_EXTENSIONS_FUNCTION_STYLE HOOPLE_DLL_IMPORT_FUNCTION
00035 #else
00036   #define WX_EXTENSIONS_CLASS_STYLE
00037   #define WX_EXTENSIONS_FUNCTION_STYLE
00038 #endif
00039 
00040 #endif
00041 

Generated on Thu Nov 20 04:28:52 2008 for HOOPLE Libraries by  doxygen 1.5.1