summaryrefslogtreecommitdiff
path: root/utils/newparser/skin_structs.h
diff options
context:
space:
mode:
Diffstat (limited to 'utils/newparser/skin_structs.h')
-rw-r--r--utils/newparser/skin_structs.h29
1 files changed, 11 insertions, 18 deletions
diff --git a/utils/newparser/skin_structs.h b/utils/newparser/skin_structs.h
index c86e683589..7dec7f85dc 100644
--- a/utils/newparser/skin_structs.h
+++ b/utils/newparser/skin_structs.h
@@ -27,26 +27,10 @@
27 27
28#include "skin_parser.h" 28#include "skin_parser.h"
29#include "tag_table.h" 29#include "tag_table.h"
30 30#ifndef SKIN_STRUCTS_H_
31struct skin_token { 31#define SKIN_STRUCTS_H_
32 enum skin_token_type type; /* enough to store the token type */
33
34 /* Whether the tag (e.g. track name or the album) refers the
35 current or the next song (false=current, true=next) */
36 bool next;
37
38 union {
39 char c;
40 unsigned int i;
41 void* data;
42 } value;
43};
44
45#define MAX_TOKENS 10000
46struct skin 32struct skin
47{ 33{
48 int token_count;
49 struct skin_token tokens[MAX_TOKENS];
50}; 34};
51 35
52 36
@@ -66,3 +50,12 @@ struct progressbar {
66 // struct bitmap bm; 50 // struct bitmap bm;
67 bool have_bitmap_pb; 51 bool have_bitmap_pb;
68}; 52};
53
54struct subline {
55 int timeout;
56 int current_line;
57 unsigned long last_change_tick;
58};
59
60
61#endif