2 * ion/ioncore/saveload.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_SAVELOAD_H
13 #define ION_IONCORE_SAVELOAD_H
15 #include <libextl/extl.h>
21 extern WRegion *create_region_load(WWindow *par, const WFitParams *fp,
24 extern bool region_supports_save(WRegion *reg);
25 DYNFUN ExtlTab region_get_configuration(WRegion *reg);
26 extern ExtlTab region_get_base_configuration(WRegion *reg);
28 extern bool ioncore_init_layout();
29 extern bool ioncore_save_layout();
31 /* Session management support */
33 typedef bool SMAddCallback(WPHolder *ph, ExtlTab tab);
34 typedef void SMCfgCallback(WClientWin *cwin, ExtlTab tab);
35 typedef WPHolder *SMPHolderCallback();
37 extern void ioncore_set_sm_callbacks(SMAddCallback *add, SMCfgCallback *cfg);
38 extern void ioncore_get_sm_callbacks(SMAddCallback **add, SMCfgCallback **cfg);
39 extern void ioncore_set_sm_pholder_callback(SMPHolderCallback *phcb);
40 extern void ioncore_clientwin_load_missing();
42 #endif /* ION_IONCORE_SAVELOAD_H */