Added "clicked" signal to event box widget.
[luakit.git] / globalconf.h
blob9806186a7f6c0326a04603fae0deff9f512542da
1 /*
2 * globalconf.h - main config struct
4 * Copyright (C) 2010 Mason Larobina <mason.larobina@gmail.com>
6 * This program is free software: you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation, either version 3 of the License, or
9 * (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program. If not, see <http://www.gnu.org/licenses/>.
21 #ifndef LUAKIT_GLOBALCONF
22 #define LUAKIT_GLOBALCONF
24 #define LUAKIT_LUA_LIB_PATH "/usr/share/luakit/lib"
25 #define LUAKIT_OBJECT_REGISTRY_KEY "luakit.object.registry"
26 #define LUAKIT_CONFIG_DIR ".config/luakit/"
28 #include <glib/gtypes.h>
29 #include <lua.h>
30 #include "common/signal.h"
32 typedef struct {
33 /* Path to the config directory */
34 gchar *base_directory;
35 /* Path to the current config file */
36 gchar *confpath;
37 /* Lua VM state */
38 lua_State *L;
39 /* Global signals table */
40 signal_t *signals;
41 /* Array of windows */
42 GPtrArray *windows;
43 } luakit_t;
45 luakit_t globalconf;
47 #endif
48 // vim: ft=c:et:sw=4:ts=8:sts=4:enc=utf-8:tw=80