]> git.decadent.org.uk Git - ion3.git/blob - ioncore/activity.h
a718f7c1ac5e0483049df9670c35d98cb2e079e5
[ion3.git] / ioncore / activity.h
1 /*
2  * ion/ioncore/activity.h
3  *
4  * Copyright (c) Tuomo Valkonen 1999-2007. 
5  *
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.
10  */
11
12 #ifndef ION_IONCORE_ACTIVITY_H
13 #define ION_IONCORE_ACTIVITY_H
14
15 #include <libtu/setparam.h>
16 #include <libmainloop/hooks.h>
17 #include <libextl/extl.h>
18 #include "region.h"
19
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);
23
24 extern void region_mark_mgd_activity(WRegion *mgr);
25 extern void region_clear_mgd_activity(WRegion *mgr);
26
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();
31
32 #endif /* ION_IONCORE_ACTIVITY_H */