X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=ioncore%2Fpholder.h;h=12e90fae7ea3897d947a38668ceb6060ba8c2605;hb=refs%2Fheads%2Fmaster;hp=4ccc65447c56947f1250d6c31f8f2f57ae4ae3b8;hpb=803afbc1cd633f6c025bcd9537e9b7e9aedadd0d;p=ion3.git diff --git a/ioncore/pholder.h b/ioncore/pholder.h index 4ccc654..12e90fa 100644 --- a/ioncore/pholder.h +++ b/ioncore/pholder.h @@ -1,12 +1,9 @@ /* * ion/ioncore/pholder.h * - * Copyright (c) Tuomo Valkonen 2005-2007. + * Copyright (c) Tuomo Valkonen 2005-2009. * - * Ion is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * (at your option) any later version. + * See the included file LICENSE for details. */ #ifndef ION_IONCORE_PHOLDER_H @@ -18,13 +15,13 @@ #define PHOLDER_ATTACH_SWITCHTO 0x0001 +#define PHOLDER_ATTACH_RETURN_CREATEROOT 0x0002 /* Note: PHolders should be destroyed by their acquirer. */ DECLCLASS(WPHolder){ Obj obj; - WPHolder *redirect; }; @@ -45,11 +42,7 @@ DYNFUN WRegion *pholder_do_target(WPHolder *ph); extern WRegion *pholder_target(WPHolder *ph); -extern WPHolder *pholder_do_root(WPHolder *ph); - -extern WPHolder *pholder_root(WPHolder *ph); - -extern bool pholder_stale(WPHolder *ph); +DYNFUN bool pholder_stale(WPHolder *ph); DYNFUN bool pholder_do_check_reparent(WPHolder *ph, WRegion *reg); @@ -59,8 +52,6 @@ DYNFUN bool pholder_do_goto(WPHolder *ph); extern bool pholder_goto(WPHolder *ph); -extern bool pholder_redirect(WPHolder *ph, WRegion *old_target); - extern WPHolder *pholder_either(WPHolder *a, WPHolder *b); DYNFUN WPHolder *region_managed_get_pholder(WRegion *reg, WRegion *mgd);