4 * Copyright (c) Tuomo Valkonen 2006-2007.
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_NAVI_H
13 #define ION_IONCORE_NAVI_H
21 REGION_NAVI_BEG, /* FIRST, PREV */
22 REGION_NAVI_END, /* LAST, NEXT */
29 INTRSTRUCT(WRegionNaviData);
31 DYNFUN WRegion *region_navi_next(WRegion *reg, WRegion *rel, WRegionNavi nh,
32 WRegionNaviData *data);
33 DYNFUN WRegion *region_navi_first(WRegion *reg, WRegionNavi nh,
34 WRegionNaviData *data);
36 extern WRegion *region_navi_cont(WRegion *reg, WRegion *res,
37 WRegionNaviData *data);
39 extern bool ioncore_string_to_navi(const char *str, WRegionNavi *nv);
41 extern WRegionNavi ioncore_navi_reverse(WRegionNavi nh);
43 extern WRegion *ioncore_goto_next(WRegion *reg, const char *dirstr,
45 extern WRegion *ioncore_goto_first(WRegion *reg, const char *dirstr,
47 extern WRegion *ioncore_navi_next(WRegion *reg, const char *dirstr,
49 extern WRegion *ioncore_navi_first(WRegion *reg, const char *dirstr,
52 #endif /* ION_IONCORE_NAVI_H */