VisualC/external/include/FLAC/export.h
changeset 556 2686e67b59fd
parent 532 b8e8ae4852b2
child 748 5515b36f95ed
child 937 3797c39725bf
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/VisualC/external/include/FLAC/export.h	Mon Jan 09 04:20:54 2012 -0500
     1.3 @@ -0,0 +1,91 @@
     1.4 +/* libFLAC - Free Lossless Audio Codec library
     1.5 + * Copyright (C) 2000,2001,2002,2003,2004,2005,2006,2007  Josh Coalson
     1.6 + *
     1.7 + * Redistribution and use in source and binary forms, with or without
     1.8 + * modification, are permitted provided that the following conditions
     1.9 + * are met:
    1.10 + *
    1.11 + * - Redistributions of source code must retain the above copyright
    1.12 + * notice, this list of conditions and the following disclaimer.
    1.13 + *
    1.14 + * - Redistributions in binary form must reproduce the above copyright
    1.15 + * notice, this list of conditions and the following disclaimer in the
    1.16 + * documentation and/or other materials provided with the distribution.
    1.17 + *
    1.18 + * - Neither the name of the Xiph.org Foundation nor the names of its
    1.19 + * contributors may be used to endorse or promote products derived from
    1.20 + * this software without specific prior written permission.
    1.21 + *
    1.22 + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
    1.23 + * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
    1.24 + * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
    1.25 + * A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR
    1.26 + * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
    1.27 + * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
    1.28 + * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
    1.29 + * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
    1.30 + * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
    1.31 + * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
    1.32 + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
    1.33 + */
    1.34 +
    1.35 +#ifndef FLAC__EXPORT_H
    1.36 +#define FLAC__EXPORT_H
    1.37 +
    1.38 +/** \file include/FLAC/export.h
    1.39 + *
    1.40 + *  \brief
    1.41 + *  This module contains #defines and symbols for exporting function
    1.42 + *  calls, and providing version information and compiled-in features.
    1.43 + *
    1.44 + *  See the \link flac_export export \endlink module.
    1.45 + */
    1.46 +
    1.47 +/** \defgroup flac_export FLAC/export.h: export symbols
    1.48 + *  \ingroup flac
    1.49 + *
    1.50 + *  \brief
    1.51 + *  This module contains #defines and symbols for exporting function
    1.52 + *  calls, and providing version information and compiled-in features.
    1.53 + *
    1.54 + *  If you are compiling with MSVC and will link to the static library
    1.55 + *  (libFLAC.lib) you should define FLAC__NO_DLL in your project to
    1.56 + *  make sure the symbols are exported properly.
    1.57 + *
    1.58 + * \{
    1.59 + */
    1.60 +
    1.61 +#if defined(FLAC__NO_DLL) || !defined(_MSC_VER)
    1.62 +#define FLAC_API
    1.63 +
    1.64 +#else
    1.65 +
    1.66 +#ifdef FLAC_API_EXPORTS
    1.67 +#define	FLAC_API	_declspec(dllexport)
    1.68 +#else
    1.69 +#define FLAC_API	_declspec(dllimport)
    1.70 +
    1.71 +#endif
    1.72 +#endif
    1.73 +
    1.74 +/** These #defines will mirror the libtool-based library version number, see
    1.75 + * http://www.gnu.org/software/libtool/manual.html#Libtool-versioning
    1.76 + */
    1.77 +#define FLAC_API_VERSION_CURRENT 10
    1.78 +#define FLAC_API_VERSION_REVISION 0 /**< see above */
    1.79 +#define FLAC_API_VERSION_AGE 2 /**< see above */
    1.80 +
    1.81 +#ifdef __cplusplus
    1.82 +extern "C" {
    1.83 +#endif
    1.84 +
    1.85 +/** \c 1 if the library has been compiled with support for Ogg FLAC, else \c 0. */
    1.86 +extern FLAC_API int FLAC_API_SUPPORTS_OGG_FLAC;
    1.87 +
    1.88 +#ifdef __cplusplus
    1.89 +}
    1.90 +#endif
    1.91 +
    1.92 +/* \} */
    1.93 +
    1.94 +#endif