Include mod_xrandr instead of using submodules
[notion/jeffpc.git] / ioncore / saveload.h
blob82b3df10c07954ee8b41008e125c3627f1414eef
1 /*
2 * ion/ioncore/saveload.h
4 * Copyright (c) Tuomo Valkonen 1999-2009.
6 * See the included file LICENSE for details.
7 */
9 #ifndef ION_IONCORE_SAVELOAD_H
10 #define ION_IONCORE_SAVELOAD_H
12 #include <libextl/extl.h>
13 #include "common.h"
14 #include "region.h"
15 #include "screen.h"
16 #include "pholder.h"
17 #include "attach.h"
19 extern WRegion *create_region_load(WWindow *par, const WFitParams *fp,
20 ExtlTab tab, WPHolder **sm_ph_p);
22 extern bool region_supports_save(WRegion *reg);
23 DYNFUN ExtlTab region_get_configuration(WRegion *reg);
24 extern ExtlTab region_get_base_configuration(WRegion *reg);
26 extern bool ioncore_init_layout();
27 extern bool ioncore_save_layout();
29 /* Session management support */
31 typedef bool SMAddCallback(WPHolder *ph, ExtlTab tab);
32 typedef void SMCfgCallback(WClientWin *cwin, ExtlTab tab);
34 extern void ioncore_set_sm_callbacks(SMAddCallback *add, SMCfgCallback *cfg);
35 extern void ioncore_get_sm_callbacks(SMAddCallback **add, SMCfgCallback **cfg);
37 extern WPHolder *ioncore_get_load_pholder();
39 #endif /* ION_IONCORE_SAVELOAD_H */