Filter Library | Camera | Interface Physics |
00001 /* 00002 * Config.h - global configuration directives. 00003 * 00004 * This file is part of the Camera Filter Library. 00005 * Computer Aided Measurement Environment for Realtime Atomic imaging (Camera) 00006 * 00007 * Copyright (C) 2004, Leiden Probe Microscopy. 00008 * Copyright (C) 2004, Universiteit Leiden. 00009 * 00010 * Authors: Martin J. Moene (original) 00011 * 00012 * $Id: Config.h 211 2005-05-31 13:34:24Z moene $ 00013 */ 00014 00015 #ifndef CFL_CONFIG_H 00016 #define CFL_CONFIG_H 00017 00018 /** 00019 * \addtogroup cfl_configuration Configuration 00020 * \brief global configuration, with defines like USE_... . 00021 * 00022 * The configuration file <tt>cfl/Config.h</tt> contains several defines to 00023 * control the selection of various pieces of code to use at compile-time. 00024 * 00025 * The following global defines are available: 00026 * - USE_STATIC_CAST to use static_cast<>() instead of dynamic_cast<>() with check. 00027 * 00028 * @{ 00029 */ 00030 00031 /** 00032 * allow: typedef-name 'identifier1' used as synonym for class-name 'identifier2' (C4097). 00033 */ 00034 #pragma warning( disable : 4097 ) 00035 00036 /** 00037 * allow: nonstandard extension used : 'token' : conversion from 'type' to 'type' (C4239); 00038 * this is used by to_channel( const Channel& ) as in: to_channel( m_lpsbIn ). 00039 */ 00040 #pragma warning( disable : 4239 ) 00041 00042 /* 00043 * configuration defines: 00044 * 00045 * Note: add defined macro's to doc/Doxyfile.in and re-configure to synchronize 00046 * the documentation with the source. 00047 */ 00048 00049 /** 00050 * Camera application registry subkey for filter settings. 00051 */ 00052 #define CFL_REGISTRY_SUBKEY "Filter Settings" 00053 00054 /** 00055 * \brief use the Visual Leak Detector in debug configuration; 00056 * see http://www.codeproject.com/useritems/visualleakdetector.asp. 00057 */ 00058 //#define USE_VISUAL_LEAK_DETECTOR 00059 00060 /// @} cfl_config 00061 00062 /* 00063 * end of configuration defines. 00064 */ 00065 00066 #endif // CFL_CONFIG_H 00067 00068 /* 00069 * end of file 00070 */