Mercurial > audlegacy-plugins
annotate src/song_change/formatter.h @ 2480:f88dd72c9156
Moved formatter stuff to the only plugin that actually used it.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 31 Mar 2008 08:14:09 +0300 |
parents | |
children | da77e1d2ca40 |
rev | line source |
---|---|
2480
f88dd72c9156
Moved formatter stuff to the only plugin that actually used it.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
1 #ifndef FORMATTER_H |
f88dd72c9156
Moved formatter stuff to the only plugin that actually used it.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
2 #define FORMATTER_H |
f88dd72c9156
Moved formatter stuff to the only plugin that actually used it.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
3 |
f88dd72c9156
Moved formatter stuff to the only plugin that actually used it.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
4 #include <glib.h> |
f88dd72c9156
Moved formatter stuff to the only plugin that actually used it.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
5 |
f88dd72c9156
Moved formatter stuff to the only plugin that actually used it.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
6 typedef struct { |
f88dd72c9156
Moved formatter stuff to the only plugin that actually used it.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
7 gchar *values[256]; |
f88dd72c9156
Moved formatter stuff to the only plugin that actually used it.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
8 } Formatter; |
f88dd72c9156
Moved formatter stuff to the only plugin that actually used it.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
9 |
f88dd72c9156
Moved formatter stuff to the only plugin that actually used it.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
10 Formatter *formatter_new(void); |
f88dd72c9156
Moved formatter stuff to the only plugin that actually used it.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
11 void formatter_destroy(Formatter * formatter); |
f88dd72c9156
Moved formatter stuff to the only plugin that actually used it.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
12 void formatter_associate(Formatter * formatter, const guchar id, const gchar * value); |
f88dd72c9156
Moved formatter stuff to the only plugin that actually used it.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
13 void formatter_dissociate(Formatter * formatter, const guchar id); |
f88dd72c9156
Moved formatter stuff to the only plugin that actually used it.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
14 gchar *formatter_format(Formatter * formatter, const gchar * format); |
f88dd72c9156
Moved formatter stuff to the only plugin that actually used it.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
15 |
f88dd72c9156
Moved formatter stuff to the only plugin that actually used it.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
16 #endif |