view libaudacious/formatter.h @ 1029:54dd4df67688 trunk

[svn] - src/tagging_mp4.c, fileinfo.c, libmp4.c: Finish conversion to internal container code. - include/mpeg4ip.h, mpeg4ip_version.h, systems.h: Remove libmp4v2. - libmp4v2/: Remove libmp4v2. - Makefile.in: Remove references to libmp4v2. - configure.ac: Remove references to libmp4v2.
author nenolod
date Fri, 12 May 2006 06:48:55 -0700
parents cb178e5ad177
children 53a3d5db6b58
line wrap: on
line source

#ifndef XMMS_FORMATTER_H
#define XMMS_FORMATTER_H

#include <glib.h>

typedef struct {
    gchar *values[256];
} Formatter;


G_BEGIN_DECLS

Formatter *xmms_formatter_new(void);
void xmms_formatter_destroy(Formatter * formatter);
void xmms_formatter_associate(Formatter * formatter, guchar id,
                              gchar * value);
void xmms_formatter_dissociate(Formatter * formatter, guchar id);
gchar *xmms_formatter_format(Formatter * formatter, gchar * format);

G_END_DECLS

#endif