]> git.decadent.org.uk Git - ion3.git/blob - ioncore/ioncore.h
ace4908835b2e2f431abf00ee48c8d4bcfc06f21
[ion3.git] / ioncore / ioncore.h
1 /*
2  * ion/ioncore/focus.h
3  *
4  * Copyright (c) Tuomo Valkonen 1999-2007. 
5  *
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.
10  */
11
12 #ifndef ION_IONCORE_IONCORE_H
13 #define ION_IONCORE_IONCORE_H
14
15 #include <libmainloop/hooks.h>
16 #include "common.h"
17
18 #define IONCORE_STARTUP_ONEROOT    0x0001
19
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, 
23                             int flags);
24 extern void ioncore_deinit();
25
26 extern const char *ioncore_aboutmsg();
27 extern const char *ioncore_version();
28
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;
33
34 extern void ioncore_warn_nolog(const char *str);
35
36 #endif /* ION_IONCORE_IONCORE_H */