Audacious $Id:Doxyfile42802007-03-2104:39:00Znenolod$
|
00001 /* Audacious - Cross-platform multimedia player 00002 * Copyright (C) 2005-2011 Audacious development team 00003 * 00004 * Based on BMP: 00005 * Copyright (C) 2003-2004 BMP development team 00006 * 00007 * Based on XMMS: 00008 * Copyright (C) 1998-2003 XMMS development team 00009 * 00010 * This program is free software; you can redistribute it and/or modify 00011 * it under the terms of the GNU General Public License as published by 00012 * the Free Software Foundation; under version 3 of the License. 00013 * 00014 * This program is distributed in the hope that it will be useful, 00015 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00016 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00017 * GNU General Public License for more details. 00018 * 00019 * You should have received a copy of the GNU General Public License 00020 * along with this program. If not, see <http://www.gnu.org/licenses>. 00021 * 00022 * The Audacious team does not consider modular code linking to 00023 * Audacious or using our public API to be a derived work. 00024 */ 00025 00026 #ifndef AUDACIOUS_UTIL_H 00027 #define AUDACIOUS_UTIL_H 00028 00029 #include <sys/types.h> 00030 #include <glib.h> 00031 00032 typedef gboolean(*DirForeachFunc) (const gchar * path, 00033 const gchar * basename, 00034 gpointer user_data); 00035 00036 gboolean dir_foreach(const gchar * path, DirForeachFunc function, 00037 gpointer user_data, GError ** error); 00038 00039 gint file_get_mtime (const gchar * filename); 00040 void make_directory(const gchar * path, mode_t mode); 00041 00042 gchar * get_path_to_self (void); 00043 00044 void describe_song (const gchar * filename, const Tuple * tuple, 00045 gchar * * title, gchar * * artist, gchar * * album); 00046 00047 #endif /* AUDACIOUS_UTIL_H */