4 * Copyright (c) Tuomo Valkonen 1999-2009.
6 * See the included file LICENSE for details.
9 #ifndef ION_IONCORE_IONCORE_H
10 #define ION_IONCORE_IONCORE_H
12 #include <libmainloop/hooks.h>
15 #define IONCORE_STARTUP_ONEROOT 0x0001
17 extern bool ioncore_init(const char *prog
, int argc
, char *argv
[],
18 const char *localedir
);
19 extern bool ioncore_startup(const char *display
, const char *cfgfile
,
21 extern void ioncore_deinit();
23 extern const char *ioncore_aboutmsg();
24 extern const char *ioncore_version();
26 /* These hooks have no parameters. */
27 extern WHook
*ioncore_post_layout_setup_hook
;
28 extern WHook
*ioncore_snapshot_hook
;
29 extern WHook
*ioncore_deinit_hook
;
31 extern void ioncore_warn_nolog(const char *str
, ...);
33 #endif /* ION_IONCORE_IONCORE_H */