intl empty dir needs to be there for make distcheck to pass
authorCarsten Haitzler <raster@rasterman.com>
Mon, 25 Apr 2005 03:06:06 +0000 (03:06 +0000)
committerCarsten Haitzler <raster@rasterman.com>
Mon, 25 Apr 2005 03:06:06 +0000 (03:06 +0000)
add placeholder for bindings.

SVN revision: 14336

Makefile.am
configure.in
intl/Makefile.am [new file with mode: 0644]
src/bin/Makefile.am
src/bin/e_bindings.c [new file with mode: 0644]
src/bin/e_bindings.h [new file with mode: 0644]
src/bin/e_includes.h
src/bin/e_main.c

index 4749b5e..b015c78 100644 (file)
@@ -1,4 +1,4 @@
-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 \
index 2d808b2..f603785 100644 (file)
@@ -227,6 +227,7 @@ data/icons/images/Makefile
 data/other/Makefile
 doc/Makefile
 po/Makefile
+intl/Makefile
 enlightenment-config
 ],[
 chmod +x enlightenment-config
diff --git a/intl/Makefile.am b/intl/Makefile.am
new file mode 100644 (file)
index 0000000..be63def
--- /dev/null
@@ -0,0 +1 @@
+MAINTAINERCLEANFILES = Makefile.in
index d5508f2..2d474e3 100644 (file)
@@ -48,6 +48,7 @@ e_font.h \
 e_intl.h \
 e_theme.h \
 e_dnd.h \
+e_bindings.h \
 e_moveresize.h
 
 enlightenment_SOURCES = \
@@ -89,6 +90,7 @@ e_font.c \
 e_intl.c \
 e_theme.c \
 e_dnd.c \
+e_bindings.c \
 e_moveresize.c \
 $(ENLIGHTENMENTHEADERS)
 
diff --git a/src/bin/e_bindings.c b/src/bin/e_bindings.c
new file mode 100644 (file)
index 0000000..dc42b3c
--- /dev/null
@@ -0,0 +1,24 @@
+/*
+ * 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 */
diff --git a/src/bin/e_bindings.h b/src/bin/e_bindings.h
new file mode 100644 (file)
index 0000000..ad7c0ca
--- /dev/null
@@ -0,0 +1,23 @@
+/*
+ * 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
index b94f6f3..c66fbcc 100644 (file)
@@ -37,4 +37,5 @@
 #include "e_intl.h"
 #include "e_theme.h"
 #include "e_dnd.h"
+#include "e_bindings.h"
 #include "e_moveresize.h"
index 8fb8bb3..c12915c 100644 (file)
@@ -303,9 +303,17 @@ main(int argc, char **argv)
      }
    _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())
      {