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_IONCORE_H
13 #define ION_IONCORE_IONCORE_H
15 #include <libmainloop/hooks.h>
18 #define IONCORE_STARTUP_ONEROOT 0x0001
20 extern bool ioncore_init(const char *prog, int argc, char *argv[],
21 const char *localedir);
22 extern bool ioncore_startup(const char *display, const char *cfgfile,
24 extern void ioncore_deinit();
26 extern const char *ioncore_aboutmsg();
27 extern const char *ioncore_version();
29 /* These hooks have no parameters. */
30 extern WHook *ioncore_post_layout_setup_hook;
31 extern WHook *ioncore_snapshot_hook;
32 extern WHook *ioncore_deinit_hook;
34 extern void ioncore_warn_nolog(const char *str);
36 #endif /* ION_IONCORE_IONCORE_H */