mfc_dll.h

Go to the documentation of this file.
00001 #ifndef MFC_DLL_DEFINITIONS
00002 #define MFC_DLL_DEFINITIONS
00003 
00004 /*****************************************************************************\
00005 *                                                                             *
00006 *  Name   : mfc extensions dll helper                                         *
00007 *  Author : Chris Koeritz                                                     *
00008 *                                                                             *
00009 *  Purpose:                                                                   *
00010 *                                                                             *
00011 *    Allows the mfc extensions library to live in a DLL.                      *
00012 *                                                                             *
00013 *******************************************************************************
00014 * Copyright (c) 1995-$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 <basis/build_configuration.h>
00023 
00024 // windows class tags for the mfc extensions library:
00025 // define BUILD_MFC_EXTENSIONS when you are creating the dll and
00026 // define USE_HOOPLE_DLLS when you are importing a class from the dll.
00027 #ifdef BUILD_MFC_EXTENSIONS
00028   #define MFC_EXTENSIONS_CLASS_STYLE    HOOPLE_DLL_EXPORT_CLASS
00029   #define MFC_EXTENSIONS_FUNCTION_STYLE HOOPLE_DLL_EXPORT_FUNCTION
00030 #elif defined(USE_HOOPLE_DLLS)
00031   #define MFC_EXTENSIONS_CLASS_STYLE    HOOPLE_DLL_IMPORT_CLASS
00032   #define MFC_EXTENSIONS_FUNCTION_STYLE HOOPLE_DLL_IMPORT_FUNCTION
00033 #else
00034   #define MFC_EXTENSIONS_CLASS_STYLE
00035   #define MFC_EXTENSIONS_FUNCTION_STYLE
00036 #endif
00037 
00038 #endif
00039 

Generated on Fri Nov 28 04:28:59 2008 for HOOPLE Libraries by  doxygen 1.5.1