1 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.01 Transitional//EN">
2 <html><head><meta http-equiv=
"Content-Type" content=
"text/html;charset=iso-8859-1">
3 <title>FLAC: include/FLAC/export.h Source File
</title>
4 <link href=
"doxygen.css" rel=
"stylesheet" type=
"text/css">
6 <!-- Generated by Doxygen 1.4.2 -->
7 <div class=
"qindex"><a class=
"qindex" href=
"index.html">Main
Page
</a> |
<a class=
"qindex" href=
"modules.html">Modules
</a> |
<a class=
"qindex" href=
"hierarchy.html">Class
Hierarchy
</a> |
<a class=
"qindex" href=
"classes.html">Alphabetical
List
</a> |
<a class=
"qindex" href=
"annotated.html">Class
List
</a> |
<a class=
"qindex" href=
"dirs.html">Directories
</a> |
<a class=
"qindex" href=
"files.html">File
List
</a> |
<a class=
"qindex" href=
"functions.html">Class
Members
</a> |
<a class=
"qindex" href=
"globals.html">File
Members
</a></div>
9 <a class=
"el" href=
"dir_000000.html">include
</a> /
<a class=
"el" href=
"dir_000002.html">FLAC
</a></div>
10 <h1>export.h
</h1><a href=
"export_8h.html">Go to the documentation of this file.
</a><div class=
"fragment"><pre class=
"fragment">00001 <span class=
"comment">/* libFLAC - Free Lossless Audio Codec library
</span>
11 00002 <span class=
"comment"> * Copyright (C)
2000,
2001,
2002,
2003,
2004,
2005,
2006,
2007 Josh Coalson
</span>
12 00003 <span class=
"comment"> *
</span>
13 00004 <span class=
"comment"> * Redistribution and use in source and binary forms, with or without
</span>
14 00005 <span class=
"comment"> * modification, are permitted provided that the following conditions
</span>
15 00006 <span class=
"comment"> * are met:
</span>
16 00007 <span class=
"comment"> *
</span>
17 00008 <span class=
"comment"> * - Redistributions of source code must retain the above copyright
</span>
18 00009 <span class=
"comment"> * notice, this list of conditions and the following disclaimer.
</span>
19 00010 <span class=
"comment"> *
</span>
20 00011 <span class=
"comment"> * - Redistributions in binary form must reproduce the above copyright
</span>
21 00012 <span class=
"comment"> * notice, this list of conditions and the following disclaimer in the
</span>
22 00013 <span class=
"comment"> * documentation and/or other materials provided with the distribution.
</span>
23 00014 <span class=
"comment"> *
</span>
24 00015 <span class=
"comment"> * - Neither the name of the Xiph.org Foundation nor the names of its
</span>
25 00016 <span class=
"comment"> * contributors may be used to endorse or promote products derived from
</span>
26 00017 <span class=
"comment"> * this software without specific prior written permission.
</span>
27 00018 <span class=
"comment"> *
</span>
28 00019 <span class=
"comment"> * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
</span>
29 00020 <span class=
"comment"> * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
</span>
30 00021 <span class=
"comment"> * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
</span>
31 00022 <span class=
"comment"> * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR
</span>
32 00023 <span class=
"comment"> * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
</span>
33 00024 <span class=
"comment"> * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
</span>
34 00025 <span class=
"comment"> * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
</span>
35 00026 <span class=
"comment"> * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
</span>
36 00027 <span class=
"comment"> * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
</span>
37 00028 <span class=
"comment"> * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
</span>
38 00029 <span class=
"comment"> * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
</span>
39 00030 <span class=
"comment"> */
</span>
41 00032 <span class=
"preprocessor">#ifndef FLAC__EXPORT_H
</span>
42 00033 <span class=
"preprocessor"></span><span class=
"preprocessor">#define FLAC__EXPORT_H
</span>
43 00034 <span class=
"preprocessor"></span>
44 00058 <span class=
"preprocessor">#if defined(FLAC__NO_DLL) || !defined(_MSC_VER)
</span>
45 00059 <span class=
"preprocessor"></span><span class=
"preprocessor">#define FLAC_API
</span>
46 00060 <span class=
"preprocessor"></span>
47 00061 <span class=
"preprocessor">#else
</span>
48 00062 <span class=
"preprocessor"></span>
49 00063 <span class=
"preprocessor">#ifdef FLAC_API_EXPORTS
</span>
50 00064 <span class=
"preprocessor"></span><span class=
"preprocessor">#define FLAC_API _declspec(dllexport)
</span>
51 00065 <span class=
"preprocessor"></span><span class=
"preprocessor">#else
</span>
52 00066 <span class=
"preprocessor"></span><span class=
"preprocessor">#define FLAC_API _declspec(dllimport)
</span>
53 00067 <span class=
"preprocessor"></span>
54 00068 <span class=
"preprocessor">#endif
</span>
55 00069 <span class=
"preprocessor"></span><span class=
"preprocessor">#endif
</span>
56 00070 <span class=
"preprocessor"></span>
57 <a name=
"l00074"></a><a class=
"code" href=
"group__flac__export.html#ga2">00074</a> <span class=
"preprocessor">#define FLAC_API_VERSION_CURRENT
10</span>
58 <a name=
"l00075"></a><a class=
"code" href=
"group__flac__export.html#ga3">00075</a> <span class=
"preprocessor"></span><span class=
"preprocessor">#define FLAC_API_VERSION_REVISION
0 </span>
59 <a name=
"l00076"></a><a class=
"code" href=
"group__flac__export.html#ga4">00076</a> <span class=
"preprocessor">#define FLAC_API_VERSION_AGE
2 </span>
60 00078 <span class=
"preprocessor">#ifdef __cplusplus
</span>
61 00079 <span class=
"preprocessor"></span><span class=
"keyword">extern
</span> <span class=
"stringliteral">"C"</span> {
62 00080 <span class=
"preprocessor">#endif
</span>
63 00081 <span class=
"preprocessor"></span>
64 00083 <span class=
"keyword">extern
</span> FLAC_API
<span class=
"keywordtype">int
</span> <a class=
"code" href=
"group__flac__export.html#ga0">FLAC_API_SUPPORTS_OGG_FLAC
</a>;
66 00085 <span class=
"preprocessor">#ifdef __cplusplus
</span>
67 00086 <span class=
"preprocessor"></span>}
68 00087 <span class=
"preprocessor">#endif
</span>
69 00088 <span class=
"preprocessor"></span>
70 00089 <span class=
"comment">/* \} */
</span>
72 00091 <span class=
"preprocessor">#endif
</span>
75 <div class=
"copyright">
76 <!-- @@@ oh so hacky -->
80 Copyright (c)
2000,
2001,
2002,
2003,
2004,
2005,
2006,
2007 Josh Coalson
82 <td width=
"1%" align=
"right">
83 <a href=
"http://sourceforge.net"><img src=
"http://sflogo.sourceforge.net/sflogo.php?group_id=13478&type=1" width=
"88" height=
"31" border=
"0" alt=
"SourceForge.net Logo" /></a>
88 <!-- Copyright (c) 2000,2001,2002,2003,2004,2005,2006,2007 Josh Coalson -->
89 <!-- Permission is granted to copy, distribute and/or modify this document -->
90 <!-- under the terms of the GNU Free Documentation License, Version 1.1 -->
91 <!-- or any later version published by the Free Software Foundation; -->
92 <!-- with no invariant sections. -->
93 <!-- A copy of the license can be found at http://www.gnu.org/copyleft/fdl.html -->