Mercurial > hg > xmms-sid
annotate src/xs_stil.h @ 109:578b71b62eeb
Fileinfo now basically working, STIL COMMENT-fields are not yet parsed or shown.
Some bugs probably remain.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 12 Jan 2004 01:45:04 +0000 |
parents | 086681f70910 |
children | 453ac1293f6a |
rev | line source |
---|---|
66 | 1 #ifndef XS_STIL_H |
2 #define XS_STIL_H | |
3 | |
4 #ifdef __cplusplus | |
5 extern "C" { | |
6 #endif | |
7 | |
8 #include "xmms-sid.h" | |
9 | |
10 /* | |
11 * Defines and typedefs | |
12 */ | |
13 typedef struct { | |
94
086681f70910
Start of re-write of STIL-support
Matti Hamalainen <ccr@tnsp.org>
parents:
66
diff
changeset
|
14 gchar *pName, |
086681f70910
Start of re-write of STIL-support
Matti Hamalainen <ccr@tnsp.org>
parents:
66
diff
changeset
|
15 *pTitle, |
086681f70910
Start of re-write of STIL-support
Matti Hamalainen <ccr@tnsp.org>
parents:
66
diff
changeset
|
16 *pArtist, |
109
578b71b62eeb
Fileinfo now basically working, STIL COMMENT-fields are not yet parsed or shown.
Matti Hamalainen <ccr@tnsp.org>
parents:
94
diff
changeset
|
17 *pAuthor, |
94
086681f70910
Start of re-write of STIL-support
Matti Hamalainen <ccr@tnsp.org>
parents:
66
diff
changeset
|
18 *pComment; |
66 | 19 } t_xs_stil_subnode; |
20 | |
21 typedef struct _t_xs_stil_node { | |
94
086681f70910
Start of re-write of STIL-support
Matti Hamalainen <ccr@tnsp.org>
parents:
66
diff
changeset
|
22 gchar *pcFilename; |
086681f70910
Start of re-write of STIL-support
Matti Hamalainen <ccr@tnsp.org>
parents:
66
diff
changeset
|
23 t_xs_stil_subnode subTune[XS_STIL_MAXENTRY]; |
086681f70910
Start of re-write of STIL-support
Matti Hamalainen <ccr@tnsp.org>
parents:
66
diff
changeset
|
24 struct _t_xs_stil_node *pPrev, *pNext; |
66 | 25 } t_xs_stil_node; |
26 | |
27 | |
28 /* | |
29 * Functions | |
30 */ | |
31 gint xs_stil_init(void); /* Initialize STIL subsystem */ | |
32 void xs_stil_close(void); /* Close/shutdown */ | |
94
086681f70910
Start of re-write of STIL-support
Matti Hamalainen <ccr@tnsp.org>
parents:
66
diff
changeset
|
33 t_xs_stil_node* xs_stil_get(gchar *); /* Get STIL information */ |
66 | 34 |
35 | |
36 #ifdef __cplusplus | |
37 } | |
38 #endif | |
39 #endif /* XS_STIL_H */ |