00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
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