Audacious $Id:Doxyfile42802007-03-2104:39:00Znenolod$

configdb.h

Go to the documentation of this file.
00001 /*
00002  * configdb.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_CONFIGDB_H
00023 #define AUDACIOUS_CONFIGDB_H
00024 
00025 #include <glib.h>
00026 #include <libmcs/mcs.h>
00027 #include <audacious/api.h>
00028 
00029 #define AUD_API_NAME ConfigDBAPI
00030 #define AUD_API_SYMBOL configdb_api
00031 
00032 #ifdef _AUDACIOUS_CORE
00033 
00034 #include "api-local-begin.h"
00035 #include "configdb-api.h"
00036 #include "api-local-end.h"
00037 
00038 void cfg_db_flush (void);
00039 
00040 #else
00041 
00042 #include <audacious/api-define-begin.h>
00043 #include <audacious/configdb-api.h>
00044 #include <audacious/api-define-end.h>
00045 
00046 #include <audacious/api-alias-begin.h>
00047 #include <audacious/configdb-api.h>
00048 #include <audacious/api-alias-end.h>
00049 
00050 #endif
00051 
00052 #undef AUD_API_NAME
00053 #undef AUD_API_SYMBOL
00054 
00055 #endif
00056 
00057 #ifdef AUD_API_DECLARE
00058 
00059 #define AUD_API_NAME ConfigDBAPI
00060 #define AUD_API_SYMBOL configdb_api
00061 
00062 #include "api-define-begin.h"
00063 #include "configdb-api.h"
00064 #include "api-define-end.h"
00065 
00066 #include "api-declare-begin.h"
00067 #include "configdb-api.h"
00068 #include "api-declare-end.h"
00069 
00070 #undef AUD_API_NAME
00071 #undef AUD_API_SYMBOL
00072 
00073 #endif