00001 /* 00002 * drct.h 00003 * Copyright 2010 John Lindgren 00004 * 00005 * This file is part of Audacious. 00006 * 00007 * Audacious is free software: you can redistribute it and/or modify it under 00008 * the terms of the GNU General Public License as published by the Free Software 00009 * Foundation, version 2 or version 3 of the License. 00010 * 00011 * Audacious is distributed in the hope that it will be useful, but WITHOUT ANY 00012 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR 00013 * A PARTICULAR PURPOSE. See the GNU General Public License for more details. 00014 * 00015 * You should have received a copy of the GNU General Public License along with 00016 * Audacious. If not, see <http://www.gnu.org/licenses/>. 00017 * 00018 * The Audacious team does not consider modular code linking to Audacious or 00019 * using our public API to be a derived work. 00020 */ 00021 00022 #ifndef AUDACIOUS_DRCT_H 00023 #define AUDACIOUS_DRCT_H 00024 00025 #include <audacious/api.h> 00026 #include <libaudcore/core.h> 00027 #include <libaudcore/index.h> 00028 00029 #define AUD_API_NAME DRCTAPI 00030 #define AUD_API_SYMBOL drct_api 00031 00032 #ifdef _AUDACIOUS_CORE 00033 00034 #include "api-local-begin.h" 00035 #include "drct-api.h" 00036 #include "api-local-end.h" 00037 00038 #else 00039 00040 #include <audacious/api-define-begin.h> 00041 #include <audacious/drct-api.h> 00042 #include <audacious/api-define-end.h> 00043 00044 #include <audacious/api-alias-begin.h> 00045 #include <audacious/drct-api.h> 00046 #include <audacious/api-alias-end.h> 00047 00048 #endif 00049 00050 #undef AUD_API_NAME 00051 #undef AUD_API_SYMBOL 00052 00053 #endif 00054 00055 #ifdef AUD_API_DECLARE 00056 00057 #define AUD_API_NAME DRCTAPI 00058 #define AUD_API_SYMBOL drct_api 00059 00060 #include "api-define-begin.h" 00061 #include "drct-api.h" 00062 #include "api-define-end.h" 00063 00064 #include "api-declare-begin.h" 00065 #include "drct-api.h" 00066 #include "api-declare-end.h" 00067 00068 #undef AUD_API_NAME 00069 #undef AUD_API_SYMBOL 00070 00071 #endif