4 * Copyright (c) Tuomo Valkonen 1999-2008.
6 * See the included file LICENSE for details.
9 #ifndef ION_IONCORE_NAMES_H
10 #define ION_IONCORE_NAMES_H
13 #include "clientwin.h"
15 #include <libextl/extl.h>
24 extern WNamespace ioncore_internal_ns;
25 extern WNamespace ioncore_clientwin_ns;
28 extern bool region_register(WRegion *reg);
29 extern bool region_set_name(WRegion *reg, const char *name);
30 extern bool region_set_name_exact(WRegion *reg, const char *name);
32 extern bool clientwin_register(WClientWin *cwin);
33 extern bool clientwin_set_name(WClientWin *cwin, const char *name);
35 extern void region_unregister(WRegion *reg);
36 extern void region_do_unuse_name(WRegion *reg, bool insert_unnamed);
38 extern const char *region_name(WRegion *reg);
39 DYNFUN const char *region_displayname(WRegion *reg);
41 extern char *region_make_label(WRegion *reg, int maxw, GrBrush *brush);
43 extern bool ioncore_region_i(ExtlFn fn, const char *typenam);
44 extern bool ioncore_clientwin_i(ExtlFn fn);
45 extern WRegion *ioncore_lookup_region(const char *cname, const char *typenam);
46 extern WClientWin *ioncore_lookup_clientwin(const char *cname);
48 #endif /* ION_IONCORE_NAMES_H */