2 * ion/ioncore/saveload.h
4 * Copyright (c) Tuomo Valkonen 1999-2008.
6 * See the included file LICENSE for details.
9 #ifndef ION_IONCORE_SAVELOAD_H
10 #define ION_IONCORE_SAVELOAD_H
12 #include <libextl/extl.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 */