blob: 45ea66294411ab6f0b1f17239401e1c0208fb820 [file] [log] [blame]
Robert Biebera089fcc2010-05-25 22:39:07 +00001/***************************************************************************
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
Robert Bieber0769fc52010-05-25 22:24:08 +000022namespace wps
23{
24 extern "C"
25 {
26#include "skin_parser.h"
27#include "skin_debug.h"
28 }
29}
30
31#include <cstdlib>
32#include <cstdio>
33
34#include <QtGui/QApplication>
35#include <QFileSystemModel>
36#include <QTreeView>
37
38int main(int argc, char* argv[])
39{
40
41 char* doc = "%Vd(U)\n\n%?bl(test,3,5,2,1)<param2|param3>";
42
43 struct wps::skin_element* test = wps::skin_parse(doc);
44
45 wps::skin_debug_tree(test);
46
47 wps::skin_free_tree(test);
48
49
50 return 0;
51}
52