2 * ion/ioncore/reginfo.h
4 * Copyright (c) Tuomo Valkonen 1999-2009.
6 * See the included file LICENSE for details.
9 #ifndef ION_IONCORE_REGINFO_H
10 #define ION_IONCORE_REGINFO_H
13 #include <libtu/obj.h>
16 #include <libextl/extl.h>
17 #include "rectangle.h"
19 typedef WRegion
*WRegionLoadCreateFn(WWindow
*par
, const WFitParams
*fp
,
21 typedef WRegion
*WRegionSimpleCreateFn(WWindow
*par
, const WFitParams
*fp
);
23 INTRSTRUCT(WRegClassInfo
);
25 DECLSTRUCT(WRegClassInfo
){
27 WRegionLoadCreateFn
*lc_fn
;
28 WRegClassInfo
*next
, *prev
;
32 extern bool ioncore_register_regclass(ClassDescr
*descr
,
33 WRegionLoadCreateFn
*lc_fn
);
34 extern void ioncore_unregister_regclass(ClassDescr
*descr
);
36 extern WRegClassInfo
*ioncore_lookup_regclass(const char *name
,
39 #endif /* ION_IONCORE_REGINFO_H */