00001 /* 00002 * main.h 00003 * Copyright 2011 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_MAIN_H 00023 #define _AUDACIOUS_MAIN_H 00024 00025 #include <glib.h> 00026 00027 /* adder.c */ 00028 void adder_init (void); 00029 void adder_cleanup (void); 00030 00031 /* chardet.c */ 00032 void chardet_init (void); 00033 00034 /* config.c */ 00035 void config_load (void); 00036 void config_save (void); 00037 void config_cleanup (void); 00038 00039 /* main.c */ 00040 extern gboolean headless; 00041 gboolean do_autosave (void); 00042 00043 /* mpris-signals.c */ 00044 void mpris_signals_init (void); 00045 void mpris_signals_cleanup (void); 00046 00047 /* signals.c */ 00048 void signals_init (void); 00049 00050 /* smclient.c */ 00051 void smclient_init (void); 00052 00053 #endif