]> git.decadent.org.uk Git - ion3.git/blob - ioncore/ioncore.h
Imported Upstream version 20090110
[ion3.git] / ioncore / ioncore.h
1 /*
2  * ion/ioncore/focus.h
3  *
4  * Copyright (c) Tuomo Valkonen 1999-2009. 
5  *
6  * See the included file LICENSE for details.
7  */
8
9 #ifndef ION_IONCORE_IONCORE_H
10 #define ION_IONCORE_IONCORE_H
11
12 #include <libmainloop/hooks.h>
13 #include "common.h"
14
15 #define IONCORE_STARTUP_ONEROOT    0x0001
16
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();
22
23 extern const char *ioncore_aboutmsg();
24 extern const char *ioncore_version();
25
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;
30
31 extern void ioncore_warn_nolog(const char *str, ...);
32
33 #endif /* ION_IONCORE_IONCORE_H */