More tab fixes
[kugel-rb.git] / apps / gui / skin_engine / skin_tokens.h
blobd259fe431c1eb2db74df33727097d15168a36968
1 /***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id$
10 * Copyright (C) 2007 Nicolas Pennequin
12 * This program is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU General Public License
14 * as published by the Free Software Foundation; either version 2
15 * of the License, or (at your option) any later version.
17 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
18 * KIND, either express or implied.
20 ****************************************************************************/
22 #ifndef _SKIN_TOKENS_H_
23 #define _SKIN_TOKENS_H_
25 #include <stdbool.h>
26 #include "tag_table.h"
28 struct wps_token {
29 enum skin_token_type type; /* enough to store the token type */
31 /* Whether the tag (e.g. track name or the album) refers the
32 current or the next song (false=current, true=next) */
33 bool next;
35 union {
36 char c;
37 unsigned short i;
38 void* data;
39 } value;
42 struct skin_token_list {
43 struct wps_token *token;
44 struct skin_token_list *next;
47 char* get_dir(char* buf, int buf_size, const char* path, int level);
49 #endif