]> git.decadent.org.uk Git - ion3.git/blob - mod_mgmtmode/mgmtmode.h
[svn-upgrade] Integrating new upstream version, ion3 (20070318)
[ion3.git] / mod_mgmtmode / mgmtmode.h
1 /*
2  * ion/mod_mgmtmode/mgmtmode.h
3  *
4  * Copyright (c) Tuomo Valkonen 2004-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_MOD_MGMTMODE_MGMTMODE_H
13 #define ION_MOD_MGMTMODE_MGMTMODE_H
14
15 #include <ioncore/common.h>
16 #include <libextl/extl.h>
17
18 INTRCLASS(WMgmtMode);
19
20 DECLCLASS(WMgmtMode){
21     Obj obj;
22     Watch selw;
23 };
24
25
26 extern WMgmtMode *mod_mgmtmode_begin(WRegion *reg);
27
28 extern void mgmtmode_select(WMgmtMode *mode, WRegion *reg);
29 extern WRegion *mgmtmode_selected(WMgmtMode *mode);
30
31 extern void mgmtmode_finish(WMgmtMode *mode);
32
33 #endif /* ION_MOD_MGMTMODE_MGMTMODE_H */