summaryrefslogtreecommitdiffstats
path: root/utils/themeeditor/main.cpp
blob: 3d7a01e7f266e158ac5167e13bc994c532cd0fd8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
namespace wps
{
    extern "C"
    {
#include "skin_parser.h"
#include "skin_debug.h"
    }
}

#include <cstdlib>
#include <cstdio>

#include <QtGui/QApplication>
#include <QFileSystemModel>
#include <QTreeView>

int main(int argc, char* argv[])
{

    char* doc = "%Vd(U)\n\n%?bl(test,3,5,2,1)<param2|param3>";

    struct wps::skin_element* test = wps::skin_parse(doc);

    wps::skin_debug_tree(test);

    wps::skin_free_tree(test);


    return 0;
}