intl empty dir needs to be there for make distcheck to pass

add placeholder for bindings.


SVN revision: 14336
This commit is contained in:
Carsten Haitzler 2005-04-25 03:06:06 +00:00
parent 1886045274
commit 179c017b8f
8 changed files with 61 additions and 1 deletions

View 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 \

View File

@ -227,6 +227,7 @@ data/icons/images/Makefile
data/other/Makefile
doc/Makefile
po/Makefile
intl/Makefile
enlightenment-config
],[
chmod +x enlightenment-config

1
intl/Makefile.am Normal file
View File

@ -0,0 +1 @@
MAINTAINERCLEANFILES = Makefile.in

View 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)

24
src/bin/e_bindings.c Normal file
View File

@ -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 */

23
src/bin/e_bindings.h Normal file
View File

@ -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

View 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"

View 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())
{