Audacious  $Id:Doxyfile42802007-03-2104:39:00Znenolod$
api.h
Go to the documentation of this file.
00001 /*
00002  * api.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_API_H
00023 #define AUDACIOUS_API_H
00024 
00025 typedef const struct {
00026     const struct ConfigDBAPI * configdb_api;
00027     const struct DRCTAPI * drct_api;
00028     const struct MiscAPI * misc_api;
00029     const struct PlaylistAPI * playlist_api;
00030     const struct PluginsAPI * plugins_api;
00031     struct _AudConfig * cfg;
00032 } AudAPITable;
00033 
00034 #ifndef _AUDACIOUS_CORE
00035 extern AudAPITable * _aud_api_table;
00036 #endif
00037 
00038 #endif