connections_dll.h

Go to the documentation of this file.
00001 #ifndef CONNECTIONS_DLL_DEFINITIONS
00002 #define CONNECTIONS_DLL_DEFINITIONS
00003 
00004 /*****************************************************************************\
00005 *                                                                             *
00006 *  Name   : connections DLL helper                                            *
00007 *  Author : Chris Koeritz                                                     *
00008 *                                                                             *
00009 *  Purpose:                                                                   *
00010 *                                                                             *
00011 *    Used to allow the library to work within a DLL.                          *
00012 *                                                                             *
00013 *******************************************************************************
00014 * Copyright (c) 2001-$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 data structures library:
00025 // define BUILD_CONNECTIONS when you are creating the dll and
00026 // define USE_HOOPLE_DLLS when you are importing a class from the dll.
00027 #ifdef BUILD_CONNECTIONS
00028   #define CONNECTIONS_CLASS_STYLE    HOOPLE_DLL_EXPORT_CLASS
00029   #define CONNECTIONS_FUNCTION_STYLE HOOPLE_DLL_EXPORT_FUNCTION
00030 #elif defined(USE_HOOPLE_DLLS)
00031   #define CONNECTIONS_CLASS_STYLE    HOOPLE_DLL_IMPORT_CLASS
00032   #define CONNECTIONS_FUNCTION_STYLE HOOPLE_DLL_IMPORT_FUNCTION
00033 #else
00034   #define CONNECTIONS_CLASS_STYLE
00035   #define CONNECTIONS_FUNCTION_STYLE
00036 #endif
00037 
00038 #endif
00039 

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