Made xuni more C++-compatible by adding extern "C" to all header files.
[xuni.git] / src / widget / dump.h
blob86776fc0a6e93f14fa68362497b918ab12b47387
1 /*! \file dump.h
3 */
5 #ifndef XUNI_GUARD_DUMP_H
6 #define XUNI_GUARD_DUMP_H
8 #include "../graphics.h"
9 #include "widgets.h"
11 #ifdef __cplusplus
12 extern "C" {
13 #endif
15 void print_widget_backtrace(struct xuni_t *xuni, struct widget_t *widget);
16 const char *get_widget_type_name(struct xuni_t *xuni,
17 enum widget_type_t type);
18 void print_inline_widget_backtrace(struct widget_t *widget);
19 void print_sel_widgets(struct widget_t *widget);
20 void print_negative_sels(struct widget_t *widget);
21 void print_widget_clip(struct widget_t *widget);
22 void dump_widget_tree(struct xuni_t *xuni, struct widget_t *widget);
23 void dump_widget_tree_xml(struct xuni_t *xuni, struct widget_t *widget,
24 const char *filename);
25 void dump_widgets_need_repaint(struct widget_t *widget);
27 #ifdef __cplusplus
29 #endif
31 #endif