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 <glib.h> 00026 #include <audacious/api.h> 00027 00028 #define AUD_API_NAME DRCTAPI 00029 #define AUD_API_SYMBOL drct_api 00030 00031 #ifdef _AUDACIOUS_CORE 00032 00033 #include "api-local-begin.h" 00034 #include "drct-api.h" 00035 #include "api-local-end.h" 00036 00037 #else 00038 00039 #include <audacious/api-define-begin.h> 00040 #include <audacious/drct-api.h> 00041 #include <audacious/api-define-end.h> 00042 00043 #include <audacious/api-alias-begin.h> 00044 #include <audacious/drct-api.h> 00045 #include <audacious/api-alias-end.h> 00046 00047 #endif 00048 00049 #undef AUD_API_NAME 00050 #undef AUD_API_SYMBOL 00051 00052 #endif 00053 00054 #ifdef AUD_API_DECLARE 00055 00056 #define AUD_API_NAME DRCTAPI 00057 #define AUD_API_SYMBOL drct_api 00058 00059 #include "api-define-begin.h" 00060 #include "drct-api.h" 00061 #include "api-define-end.h" 00062 00063 #include "api-declare-begin.h" 00064 #include "drct-api.h" 00065 #include "api-declare-end.h" 00066 00067 #undef AUD_API_NAME 00068 #undef AUD_API_SYMBOL 00069 00070 #endif