2 * ion/ioncore/reginfo.h
4 * Copyright (c) Tuomo Valkonen 1999-2005.
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.
12 #ifndef ION_IONCORE_REGINFO_H
13 #define ION_IONCORE_REGINFO_H
16 #include <libtu/obj.h>
19 #include <libextl/extl.h>
20 #include "rectangle.h"
22 typedef WRegion
*WRegionLoadCreateFn(WWindow
*par
, const WFitParams
*fp
,
24 typedef WRegion
*WRegionSimpleCreateFn(WWindow
*par
, const WFitParams
*fp
);
26 INTRSTRUCT(WRegClassInfo
);
28 DECLSTRUCT(WRegClassInfo
){
30 WRegionLoadCreateFn
*lc_fn
;
31 WRegClassInfo
*next
, *prev
;
35 extern bool ioncore_register_regclass(ClassDescr
*descr
,
36 WRegionLoadCreateFn
*lc_fn
);
37 extern void ioncore_unregister_regclass(ClassDescr
*descr
);
39 extern WRegClassInfo
*ioncore_lookup_regclass(const char *name
,
42 #endif /* ION_IONCORE_REGINFO_H */