annotate Plugins/Input/flac/charset.h @ 1485:eff9a84c54bf trunk

[svn] use -1 to indicate "drop the original nsf/gbs/nsfe file, but silently error" (not implemented in 1.1.x, but is backwards compatible -- also not yet implemented here. keyword YET)
author nenolod
date Thu, 03 Aug 2006 01:03:55 -0700
parents 705d4c089fce
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
61
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
1 /* libxmms-flac - XMMS FLAC input plugin
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
2 * Copyright (C) 2002,2003,2004,2005 Daisuke Shimamura
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
3 *
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
4 * Almost from charset.h - 2001/12/04
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
5 * EasyTAG - Tag editor for MP3 and OGG files
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
6 * Copyright (C) 1999-2001 H蛆ard Kv虱en <havardk@xmms.org>
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
7 *
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
8 * This program is free software; you can redistribute it and/or modify
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
9 * it under the terms of the GNU General Public License as published by
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
10 * the Free Software Foundation; either version 2 of the License, or
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
11 * (at your option) any later version.
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
12 *
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
13 * This program is distributed in the hope that it will be useful,
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
16 * GNU General Public License for more details.
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
17 *
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
18 * You should have received a copy of the GNU General Public License
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
19 * along with this program; if not, write to the Free Software
1459
705d4c089fce [svn] Fix postal code.
chainsaw
parents: 1458
diff changeset
20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
61
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
21 */
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
22
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
23
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
24 #ifndef __CHARSET_H__
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
25 #define __CHARSET_H__
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
26
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
27
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
28 /***************
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
29 * Declaration *
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
30 ***************/
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
31
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
32 typedef struct {
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
33 gchar *charset_title;
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
34 gchar *charset_name;
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
35 } CharsetInfo;
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
36
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
37 /* translated charset titles */
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
38 extern const CharsetInfo charset_trans_array[];
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
39
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
40 /**************
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
41 * Prototypes *
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
42 **************/
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
43
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
44 /*
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
45 * The returned strings are malloc()ed an must be free()d by the caller
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
46 */
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
47 char *convert_from_utf8_to_user(const char *string);
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
48 char *convert_from_user_to_utf8(const char *string);
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
49
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
50 GList *Charset_Create_List (void);
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
51 GList *Charset_Create_List_UTF8_Only (void);
248
e557fce67f47 [svn] Avoid discarding pointer type qualifiers.
chainsaw
parents: 61
diff changeset
52 gchar *Charset_Get_Name_From_Title (const gchar *charset_title);
e557fce67f47 [svn] Avoid discarding pointer type qualifiers.
chainsaw
parents: 61
diff changeset
53 gchar *Charset_Get_Title_From_Name (const gchar *charset_name);
61
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
54
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
55 #endif /* __CHARSET_H__ */
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
56