Audacious
$Id:Doxyfile42802007-03-2104:39:00Znenolod$
|
00001 /* 00002 * Audacious 00003 * Copyright (c) 2007 William Pitcock 00004 * 00005 * This program is free software; you can redistribute it and/or modify 00006 * it under the terms of the GNU General Public License as published by 00007 * the Free Software Foundation; under version 3 of the License. 00008 * 00009 * This program is distributed in the hope that it will be useful, 00010 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00011 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00012 * GNU General Public License for more details. 00013 * 00014 * You should have received a copy of the GNU General Public License 00015 * along with this program. If not, see <http://www.gnu.org/licenses>. 00016 * 00017 * The Audacious team does not consider modular code linking to 00018 * Audacious or using our public API to be a derived work. 00019 */ 00020 00021 #ifndef AUDACIOUS_TUPLE_FORMATTER_H 00022 #define AUDACIOUS_TUPLE_FORMATTER_H 00023 00024 #include <glib.h> 00025 #include <mowgli.h> 00026 00027 #include "tuple.h" 00028 00029 G_BEGIN_DECLS 00030 00031 gchar * tuple_formatter_process_string (const Tuple * tuple, const gchar * 00032 string); 00033 gchar * tuple_formatter_make_title_string (const Tuple * tuple, const gchar * 00034 string); 00035 void tuple_formatter_register_expression(const gchar *keyword, 00036 gboolean (*func)(Tuple *tuple, const gchar *argument)); 00037 void tuple_formatter_register_function(const gchar *keyword, 00038 gchar *(*func)(Tuple *tuple, gchar **argument)); 00039 gchar *tuple_formatter_process_expr(Tuple *tuple, const gchar *expression, 00040 const gchar *argument); 00041 gchar *tuple_formatter_process_function(Tuple *tuple, const gchar *expression, 00042 const gchar *argument); 00043 gchar *tuple_formatter_process_construct(Tuple *tuple, const gchar *string); 00044 00045 G_END_DECLS 00046 00047 #endif /* AUDACIOUS_TUPLE_FORMATTER_H */