]> git.decadent.org.uk Git - ion3.git/blob - ioncore/extlconv.h
28fbb95472a4c19e10c21642734d5eb548d28ea2
[ion3.git] / ioncore / extlconv.h
1 /*
2  * ion/ioncore/extlconv.h
3  *
4  * Copyright (c) Tuomo Valkonen 1999-2007. 
5  *
6  * Ion is free software; you can redistribute it and/or modify it under
7  * the terms of the GNU Lesser General Public License as published by
8  * the Free Software Foundation; either version 2.1 of the License, or
9  * (at your option) any later version.
10  */
11
12 #ifndef ION_IONCORE_EXTLCONV_H
13 #define ION_IONCORE_EXTLCONV_H
14
15 #include <libextl/extl.h>
16 #include <libtu/iterable.h>
17 #include <libtu/setparam.h>
18 #include <libtu/objlist.h>
19 #include "common.h"
20 #include "region.h"
21
22 extern bool extl_iter_obj(ExtlFn fn, Obj *obj);
23 extern bool extl_iter_objlist_(ExtlFn fn, ObjIterator *iter, void *st);
24 extern bool extl_iter_objlist(ExtlFn fn, ObjList *list);
25
26 extern bool extl_table_is_bool_set(ExtlTab tab, const char *entry);
27
28 extern bool extl_table_to_rectangle(ExtlTab tab, WRectangle *rect);
29 extern ExtlTab extl_table_from_rectangle(const WRectangle *rect);
30
31 extern bool extl_table_gets_rectangle(ExtlTab tab, const char *nam,
32                                       WRectangle *rect);
33 extern void extl_table_sets_rectangle(ExtlTab tab, const char *nam,
34                                       const WRectangle *rect);
35
36 #endif /* ION_IONCORE_EXTLCONV_H */
37