annotate src/flac-1.2.1/include/FLAC++/export.h @ 93:5fcdb63f4cc6

Add sord, serd
author Chris Cannam <cannam@all-day-breakfast.com>
date Wed, 20 Mar 2013 15:23:43 +0000
parents 98c1576536ae
children
rev   line source
cannam@86 1 /* libFLAC++ - Free Lossless Audio Codec library
cannam@86 2 * Copyright (C) 2002,2003,2004,2005,2006,2007 Josh Coalson
cannam@86 3 *
cannam@86 4 * Redistribution and use in source and binary forms, with or without
cannam@86 5 * modification, are permitted provided that the following conditions
cannam@86 6 * are met:
cannam@86 7 *
cannam@86 8 * - Redistributions of source code must retain the above copyright
cannam@86 9 * notice, this list of conditions and the following disclaimer.
cannam@86 10 *
cannam@86 11 * - Redistributions in binary form must reproduce the above copyright
cannam@86 12 * notice, this list of conditions and the following disclaimer in the
cannam@86 13 * documentation and/or other materials provided with the distribution.
cannam@86 14 *
cannam@86 15 * - Neither the name of the Xiph.org Foundation nor the names of its
cannam@86 16 * contributors may be used to endorse or promote products derived from
cannam@86 17 * this software without specific prior written permission.
cannam@86 18 *
cannam@86 19 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
cannam@86 20 * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
cannam@86 21 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
cannam@86 22 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR
cannam@86 23 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
cannam@86 24 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
cannam@86 25 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
cannam@86 26 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
cannam@86 27 * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
cannam@86 28 * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
cannam@86 29 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
cannam@86 30 */
cannam@86 31
cannam@86 32 #ifndef FLACPP__EXPORT_H
cannam@86 33 #define FLACPP__EXPORT_H
cannam@86 34
cannam@86 35 /** \file include/FLAC++/export.h
cannam@86 36 *
cannam@86 37 * \brief
cannam@86 38 * This module contains #defines and symbols for exporting function
cannam@86 39 * calls, and providing version information and compiled-in features.
cannam@86 40 *
cannam@86 41 * See the \link flacpp_export export \endlink module.
cannam@86 42 */
cannam@86 43
cannam@86 44 /** \defgroup flacpp_export FLAC++/export.h: export symbols
cannam@86 45 * \ingroup flacpp
cannam@86 46 *
cannam@86 47 * \brief
cannam@86 48 * This module contains #defines and symbols for exporting function
cannam@86 49 * calls, and providing version information and compiled-in features.
cannam@86 50 *
cannam@86 51 * If you are compiling with MSVC and will link to the static library
cannam@86 52 * (libFLAC++.lib) you should define FLAC__NO_DLL in your project to
cannam@86 53 * make sure the symbols are exported properly.
cannam@86 54 *
cannam@86 55 * \{
cannam@86 56 */
cannam@86 57
cannam@86 58 #if defined(FLAC__NO_DLL) || !defined(_MSC_VER)
cannam@86 59 #define FLACPP_API
cannam@86 60
cannam@86 61 #else
cannam@86 62
cannam@86 63 #ifdef FLACPP_API_EXPORTS
cannam@86 64 #define FLACPP_API _declspec(dllexport)
cannam@86 65 #else
cannam@86 66 #define FLACPP_API _declspec(dllimport)
cannam@86 67
cannam@86 68 #endif
cannam@86 69 #endif
cannam@86 70
cannam@86 71 /* These #defines will mirror the libtool-based library version number, see
cannam@86 72 * http://www.gnu.org/software/libtool/manual.html#Libtool-versioning
cannam@86 73 */
cannam@86 74 #define FLACPP_API_VERSION_CURRENT 8
cannam@86 75 #define FLACPP_API_VERSION_REVISION 0
cannam@86 76 #define FLACPP_API_VERSION_AGE 2
cannam@86 77
cannam@86 78 /* \} */
cannam@86 79
cannam@86 80 #endif