add placeholder for bindings.
SVN revision: 14336
-SUBDIRS = src data doc po
+SUBDIRS = src data doc po intl
MAINTAINERCLEANFILES = Makefile.in aclocal.m4 config.guess \
config.h.in config.sub configure install-sh \
data/other/Makefile
doc/Makefile
po/Makefile
+intl/Makefile
enlightenment-config
],[
chmod +x enlightenment-config
--- /dev/null
+MAINTAINERCLEANFILES = Makefile.in
e_intl.h \
e_theme.h \
e_dnd.h \
+e_bindings.h \
e_moveresize.h
enlightenment_SOURCES = \
e_intl.c \
e_theme.c \
e_dnd.c \
+e_bindings.c \
e_moveresize.c \
$(ENLIGHTENMENTHEADERS)
--- /dev/null
+/*
+ * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
+ */
+#include "e.h"
+
+/* local subsystem functions */
+
+/* local subsystem globals */
+
+/* externally accessible functions */
+
+int
+e_bindings_init(void)
+{
+ return 1;
+}
+
+int
+e_bindings_shutdown(void)
+{
+ return 1;
+}
+
+/* local subsystem functions */
--- /dev/null
+/*
+ * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
+ */
+#ifdef E_TYPEDEFS
+
+typedef enum _E_Binding_Context
+{
+ E_BINDING_CONTEXT_BORDER,
+ E_BINDING_CONTEXT_ZONE,
+ E_BINDING_CONTEXT_OTHER
+} E_Binding_Context;
+
+#else
+#ifndef E_BINDINGS_H
+#define E_BINDINGS_H
+
+EAPI int e_bindings_init(void);
+EAPI int e_bindings_shutdown(void);
+
+//EAPI void e_bindings_key_event_handle(E_Binding_Context context, E_Object *obj, char *key); /* finxish... */
+
+#endif
+#endif
#include "e_intl.h"
#include "e_theme.h"
#include "e_dnd.h"
+#include "e_bindings.h"
#include "e_moveresize.h"
}
_e_main_shutdown_push(e_theme_shutdown);
+
/* tell the error system that it can use gui dialogs now */
e_error_gui_set(1);
+ /* init bindings system */
+ if (!e_bindings_init())
+ {
+ e_error_message_show(_("Enlightenment cannot set up its bindings system."));
+ _e_main_shutdown(-1);
+ }
+ _e_main_shutdown_push(e_bindings_shutdown);
/* setup e ipc service */
if (!_e_main_ipc_init())
{