2 * ion/ioncore/basicpholder.h
4 * Copyright (c) Tuomo Valkonen 2005-2009.
6 * See the included file LICENSE for details.
9 #ifndef ION_IONCORE_BASICPHOLDER_H
10 #define ION_IONCORE_BASICPHOLDER_H
17 typedef WRegion *WBasicPHolderHandler(WRegion *reg, int flags,
18 WRegionAttachData *data);
20 INTRCLASS(WBasicPHolder);
22 DECLCLASS(WBasicPHolder){
25 WBasicPHolderHandler* hnd;
28 extern WBasicPHolder *create_basicpholder(WRegion *reg,
29 WBasicPHolderHandler *hnd);
31 extern bool basicpholder_init(WBasicPHolder *ph, WRegion *reg,
32 WBasicPHolderHandler *hnd);
34 extern void basicpholder_deinit(WBasicPHolder *ph);
36 extern bool basicpholder_do_goto(WBasicPHolder *ph);
38 extern WRegion *basicpholder_do_target(WBasicPHolder *ph);
40 extern WRegion *basicpholder_do_attach(WBasicPHolder *ph, int flags,
41 WRegionAttachData *data);
43 #endif /* ION_IONCORE_BASICPHOLDER_H */