cannam@87: /* libFLAC++ - Free Lossless Audio Codec library cannam@87: * Copyright (C) 2002,2003,2004,2005,2006,2007 Josh Coalson cannam@87: * cannam@87: * Redistribution and use in source and binary forms, with or without cannam@87: * modification, are permitted provided that the following conditions cannam@87: * are met: cannam@87: * cannam@87: * - Redistributions of source code must retain the above copyright cannam@87: * notice, this list of conditions and the following disclaimer. cannam@87: * cannam@87: * - Redistributions in binary form must reproduce the above copyright cannam@87: * notice, this list of conditions and the following disclaimer in the cannam@87: * documentation and/or other materials provided with the distribution. cannam@87: * cannam@87: * - Neither the name of the Xiph.org Foundation nor the names of its cannam@87: * contributors may be used to endorse or promote products derived from cannam@87: * this software without specific prior written permission. cannam@87: * cannam@87: * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS cannam@87: * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT cannam@87: * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR cannam@87: * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR cannam@87: * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, cannam@87: * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, cannam@87: * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR cannam@87: * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF cannam@87: * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING cannam@87: * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS cannam@87: * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. cannam@87: */ cannam@87: cannam@87: #ifndef FLACPP__EXPORT_H cannam@87: #define FLACPP__EXPORT_H cannam@87: cannam@87: /** \file include/FLAC++/export.h cannam@87: * cannam@87: * \brief cannam@87: * This module contains #defines and symbols for exporting function cannam@87: * calls, and providing version information and compiled-in features. cannam@87: * cannam@87: * See the \link flacpp_export export \endlink module. cannam@87: */ cannam@87: cannam@87: /** \defgroup flacpp_export FLAC++/export.h: export symbols cannam@87: * \ingroup flacpp cannam@87: * cannam@87: * \brief cannam@87: * This module contains #defines and symbols for exporting function cannam@87: * calls, and providing version information and compiled-in features. cannam@87: * cannam@87: * If you are compiling with MSVC and will link to the static library cannam@87: * (libFLAC++.lib) you should define FLAC__NO_DLL in your project to cannam@87: * make sure the symbols are exported properly. cannam@87: * cannam@87: * \{ cannam@87: */ cannam@87: cannam@87: #if defined(FLAC__NO_DLL) || !defined(_MSC_VER) cannam@87: #define FLACPP_API cannam@87: cannam@87: #else cannam@87: cannam@87: #ifdef FLACPP_API_EXPORTS cannam@87: #define FLACPP_API _declspec(dllexport) cannam@87: #else cannam@87: #define FLACPP_API _declspec(dllimport) cannam@87: cannam@87: #endif cannam@87: #endif cannam@87: cannam@87: /* These #defines will mirror the libtool-based library version number, see cannam@87: * http://www.gnu.org/software/libtool/manual.html#Libtool-versioning cannam@87: */ cannam@87: #define FLACPP_API_VERSION_CURRENT 8 cannam@87: #define FLACPP_API_VERSION_REVISION 0 cannam@87: #define FLACPP_API_VERSION_AGE 2 cannam@87: cannam@87: /* \} */ cannam@87: cannam@87: #endif