2 * ion/ioncore/extlconv.h
4 * Copyright (c) Tuomo Valkonen 1999-2009.
6 * See the included file LICENSE for details.
9 #ifndef ION_IONCORE_EXTLCONV_H
10 #define ION_IONCORE_EXTLCONV_H
12 #include <libextl/extl.h>
13 #include <libtu/iterable.h>
14 #include <libtu/setparam.h>
15 #include <libtu/objlist.h>
18 #include "sizepolicy.h"
20 extern bool extl_iter_obj(ExtlFn fn
, Obj
*obj
);
21 extern bool extl_iter_objlist_(ExtlFn fn
, ObjIterator
*iter
, void *st
);
22 extern bool extl_iter_objlist(ExtlFn fn
, ObjList
*list
);
24 extern bool extl_table_is_bool_set(ExtlTab tab
, const char *entry
);
26 extern bool extl_table_to_rectangle(ExtlTab tab
, WRectangle
*rect
);
27 extern ExtlTab
extl_table_from_rectangle(const WRectangle
*rect
);
29 extern bool extl_table_gets_rectangle(ExtlTab tab
, const char *nam
,
31 extern void extl_table_sets_rectangle(ExtlTab tab
, const char *nam
,
32 const WRectangle
*rect
);
34 extern bool extl_table_gets_sizepolicy(ExtlTab tab
, const char *nam
,
37 #endif /* ION_IONCORE_EXTLCONV_H */