summaryrefslogtreecommitdiff
path: root/lib/skin_parser/skin_debug.h
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2010-06-17 06:52:02 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2010-06-17 06:52:02 +0000
commit36b934d241d2560be6693f90c9aba501a1ec0ae7 (patch)
tree39b57aa3bc373a967e4d1f7d29671226307294c8 /lib/skin_parser/skin_debug.h
parentca564287ee3f48945d45c7d92be7a83452f53745 (diff)
downloadrockbox-36b934d241d2560be6693f90c9aba501a1ec0ae7.tar.gz
rockbox-36b934d241d2560be6693f90c9aba501a1ec0ae7.zip
Move the skin parser to a seperate library
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26877 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'lib/skin_parser/skin_debug.h')
-rw-r--r--lib/skin_parser/skin_debug.h48
1 files changed, 48 insertions, 0 deletions
diff --git a/lib/skin_parser/skin_debug.h b/lib/skin_parser/skin_debug.h
new file mode 100644
index 0000000000..a550dc4c7b
--- /dev/null
+++ b/lib/skin_parser/skin_debug.h
@@ -0,0 +1,48 @@
1/***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id$
9 *
10 * Copyright (C) 2010 Robert Bieber
11 *
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.
16 *
17 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
18 * KIND, either express or implied.
19 *
20 ****************************************************************************/
21
22
23#ifndef SKIN_DEBUG_H
24#define SKIN_DEBUG_H
25
26#ifdef __cplusplus
27extern "C"
28{
29#endif
30
31#include "skin_parser.h"
32
33/* Debugging functions */
34void skin_error(enum skin_errorcode error);
35int skin_error_line();
36char* skin_error_message();
37void skin_clear_errors();
38void skin_debug_tree(struct skin_element* root);
39
40/* Auxiliary debug functions */
41void skin_debug_params(int count, struct skin_tag_parameter params[]);
42void skin_debug_indent();
43
44#ifdef __cplusplus
45}
46#endif
47
48#endif // SKIN_DEBUG_H