MPEGPlayer playlist should as well support all viewer-handled file extensions...indeed.
[kugel-rb.git] / lib / skin_parser / skin_debug.h
blob3f1a7d7edda035130ecff25f95ea370b333b83bd
1 /***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id$
10 * Copyright (C) 2010 Robert Bieber
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 ****************************************************************************/
23 #ifndef SKIN_DEBUG_H
24 #define SKIN_DEBUG_H
26 #ifdef __cplusplus
27 extern "C"
29 #endif
31 #if !defined(ROCKBOX) || defined(__PCTOOL__)
32 #define SKINPARSER_DEBUG
33 #endif
35 #include "skin_parser.h"
36 #ifdef SKINPARSER_DEBUG
37 /* Debugging functions */
38 void skin_error(enum skin_errorcode error, const char* cursor);
39 int skin_error_line(void);
40 int skin_error_col(void);
41 char* skin_error_message(void);
42 void skin_clear_errors(void);
43 void skin_debug_tree(struct skin_element* root);
44 void skin_error_format_message();
46 /* Auxiliary debug functions */
47 void skin_debug_params(int count, struct skin_tag_parameter params[]);
48 void skin_debug_indent(void);
49 #else
51 #define skin_error(...)
52 #define skin_clear_errors()
54 #endif /* SKINPARSER_DEBUG */
57 #ifdef __cplusplus
59 #endif
61 #endif // SKIN_DEBUG_H