1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
|
/*
* ion/ioncore/saveload.h
*
* Copyright (c) Tuomo Valkonen 1999-2007.
*
* See the included file LICENSE for details.
*/
#ifndef ION_IONCORE_SAVELOAD_H
#define ION_IONCORE_SAVELOAD_H
#include <libextl/extl.h>
#include "common.h"
#include "region.h"
#include "screen.h"
#include "pholder.h"
extern WRegion *create_region_load(WWindow *par, const WFitParams *fp,
ExtlTab tab);
extern bool region_supports_save(WRegion *reg);
DYNFUN ExtlTab region_get_configuration(WRegion *reg);
extern ExtlTab region_get_base_configuration(WRegion *reg);
extern bool ioncore_init_layout();
extern bool ioncore_save_layout();
/* Session management support */
typedef bool SMAddCallback(WPHolder *ph, ExtlTab tab);
typedef void SMCfgCallback(WClientWin *cwin, ExtlTab tab);
typedef WPHolder *SMPHolderCallback();
extern void ioncore_set_sm_callbacks(SMAddCallback *add, SMCfgCallback *cfg);
extern void ioncore_get_sm_callbacks(SMAddCallback **add, SMCfgCallback **cfg);
extern void ioncore_set_sm_pholder_callback(SMPHolderCallback *phcb);
extern void ioncore_clientwin_load_missing();
#endif /* ION_IONCORE_SAVELOAD_H */
|