]> git.decadent.org.uk Git - ion3.git/blob - ioncore/extlconv.h
d56f9dc76c40398f5c095290353e0a9bc7b26062
[ion3.git] / ioncore / extlconv.h
1 /*
2  * ion/ioncore/extlconv.h
3  *
4  * Copyright (c) Tuomo Valkonen 1999-2008. 
5  *
6  * See the included file LICENSE for details.
7  */
8
9 #ifndef ION_IONCORE_EXTLCONV_H
10 #define ION_IONCORE_EXTLCONV_H
11
12 #include <libextl/extl.h>
13 #include <libtu/iterable.h>
14 #include <libtu/setparam.h>
15 #include <libtu/objlist.h>
16 #include "common.h"
17 #include "region.h"
18
19 extern bool extl_iter_obj(ExtlFn fn, Obj *obj);
20 extern bool extl_iter_objlist_(ExtlFn fn, ObjIterator *iter, void *st);
21 extern bool extl_iter_objlist(ExtlFn fn, ObjList *list);
22
23 extern bool extl_table_is_bool_set(ExtlTab tab, const char *entry);
24
25 extern bool extl_table_to_rectangle(ExtlTab tab, WRectangle *rect);
26 extern ExtlTab extl_table_from_rectangle(const WRectangle *rect);
27
28 extern bool extl_table_gets_rectangle(ExtlTab tab, const char *nam,
29                                       WRectangle *rect);
30 extern void extl_table_sets_rectangle(ExtlTab tab, const char *nam,
31                                       const WRectangle *rect);
32
33 #endif /* ION_IONCORE_EXTLCONV_H */
34