FSF address
[notion/jeffpc.git] / ioncore / basicpholder.h
blob8953ca532cfaf9e913b7be0169c98d80afa6d48e
1 /*
2 * ion/ioncore/basicpholder.h
4 * Copyright (c) Tuomo Valkonen 2005-2009.
6 * See the included file LICENSE for details.
7 */
9 #ifndef ION_IONCORE_BASICPHOLDER_H
10 #define ION_IONCORE_BASICPHOLDER_H
12 #include "common.h"
13 #include "pholder.h"
14 #include "attach.h"
17 typedef WRegion *WBasicPHolderHandler(WRegion *reg, int flags,
18 WRegionAttachData *data);
20 INTRCLASS(WBasicPHolder);
22 DECLCLASS(WBasicPHolder){
23 WPHolder ph;
24 Watch reg_watch;
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 */