2 * ion/ioncore/activity.h
4 * Copyright (c) Tuomo Valkonen 1999-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_ACTIVITY_H
13 #define ION_IONCORE_ACTIVITY_H
15 #include <libtu/setparam.h>
16 #include <libmainloop/hooks.h>
17 #include <libextl/extl.h>
20 extern bool region_set_activity(WRegion *reg, int sp);
21 extern bool region_is_activity(WRegion* re);
22 extern bool region_is_activity_r(WRegion *reg);
24 extern void region_mark_mgd_activity(WRegion *mgr);
25 extern void region_clear_mgd_activity(WRegion *mgr);
27 extern bool ioncore_activity_i(ExtlFn fn);
28 extern WRegion *ioncore_activity_first();
29 extern bool ioncore_goto_activity();
30 extern ObjList *ioncore_activity_list();
32 #endif /* ION_IONCORE_ACTIVITY_H */