annotate src/audacious/formatter.h @ 4133:d34e16f45a29

dock_move_press already presents window
author Tomasz Mon <desowin@gmail.com>
date Sun, 30 Dec 2007 20:41:23 +0100
parents 193bae6b2c8f
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2426
193bae6b2c8f [svn] - removed xmms_ prefix from formatter
mf0102
parents:
diff changeset
1 #ifndef XMMS_FORMATTER_H
193bae6b2c8f [svn] - removed xmms_ prefix from formatter
mf0102
parents:
diff changeset
2 #define XMMS_FORMATTER_H
193bae6b2c8f [svn] - removed xmms_ prefix from formatter
mf0102
parents:
diff changeset
3
193bae6b2c8f [svn] - removed xmms_ prefix from formatter
mf0102
parents:
diff changeset
4 #include <glib.h>
193bae6b2c8f [svn] - removed xmms_ prefix from formatter
mf0102
parents:
diff changeset
5
193bae6b2c8f [svn] - removed xmms_ prefix from formatter
mf0102
parents:
diff changeset
6 /**
193bae6b2c8f [svn] - removed xmms_ prefix from formatter
mf0102
parents:
diff changeset
7 * Formatter:
193bae6b2c8f [svn] - removed xmms_ prefix from formatter
mf0102
parents:
diff changeset
8 * @values: The stack of values used for replacement.
193bae6b2c8f [svn] - removed xmms_ prefix from formatter
mf0102
parents:
diff changeset
9 *
193bae6b2c8f [svn] - removed xmms_ prefix from formatter
mf0102
parents:
diff changeset
10 * Formatter objects contain id->replacement mapping tables.
193bae6b2c8f [svn] - removed xmms_ prefix from formatter
mf0102
parents:
diff changeset
11 **/
193bae6b2c8f [svn] - removed xmms_ prefix from formatter
mf0102
parents:
diff changeset
12 typedef struct {
193bae6b2c8f [svn] - removed xmms_ prefix from formatter
mf0102
parents:
diff changeset
13 gchar *values[256];
193bae6b2c8f [svn] - removed xmms_ prefix from formatter
mf0102
parents:
diff changeset
14 } Formatter;
193bae6b2c8f [svn] - removed xmms_ prefix from formatter
mf0102
parents:
diff changeset
15
193bae6b2c8f [svn] - removed xmms_ prefix from formatter
mf0102
parents:
diff changeset
16
193bae6b2c8f [svn] - removed xmms_ prefix from formatter
mf0102
parents:
diff changeset
17 G_BEGIN_DECLS
193bae6b2c8f [svn] - removed xmms_ prefix from formatter
mf0102
parents:
diff changeset
18
193bae6b2c8f [svn] - removed xmms_ prefix from formatter
mf0102
parents:
diff changeset
19 Formatter *formatter_new(void);
193bae6b2c8f [svn] - removed xmms_ prefix from formatter
mf0102
parents:
diff changeset
20 void formatter_destroy(Formatter * formatter);
193bae6b2c8f [svn] - removed xmms_ prefix from formatter
mf0102
parents:
diff changeset
21 void formatter_associate(Formatter * formatter, guchar id,
193bae6b2c8f [svn] - removed xmms_ prefix from formatter
mf0102
parents:
diff changeset
22 gchar * value);
193bae6b2c8f [svn] - removed xmms_ prefix from formatter
mf0102
parents:
diff changeset
23 void formatter_dissociate(Formatter * formatter, guchar id);
193bae6b2c8f [svn] - removed xmms_ prefix from formatter
mf0102
parents:
diff changeset
24 gchar *formatter_format(Formatter * formatter, gchar * format);
193bae6b2c8f [svn] - removed xmms_ prefix from formatter
mf0102
parents:
diff changeset
25
193bae6b2c8f [svn] - removed xmms_ prefix from formatter
mf0102
parents:
diff changeset
26 G_END_DECLS
193bae6b2c8f [svn] - removed xmms_ prefix from formatter
mf0102
parents:
diff changeset
27
193bae6b2c8f [svn] - removed xmms_ prefix from formatter
mf0102
parents:
diff changeset
28 #endif