Use 'goto_focus' instead of 'goto' in contrib
[notion.git] / ioncore / ioncore.h
blob19e53eec6e9b4a4d71f961e7a43f578069028782
1 /*
2 * ion/ioncore/focus.h
4 * Copyright (c) Tuomo Valkonen 1999-2009.
6 * See the included file LICENSE for details.
7 */
9 #ifndef ION_IONCORE_IONCORE_H
10 #define ION_IONCORE_IONCORE_H
12 #include <libmainloop/hooks.h>
13 #include "common.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,
20 int flags);
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 */