* config.in (HAVE_DBUS): Add.
authorMichael Albinus <michael.albinus@gmx.de>
Sun, 2 Dec 2007 16:23:40 +0000 (16:23 +0000)
committerMichael Albinus <michael.albinus@gmx.de>
Sun, 2 Dec 2007 16:23:40 +0000 (16:23 +0000)
commit033b73e2e09d45b9f71596d3c88e3f237006cd64
treed046f730bef86a344d40e3f829223842046b427b
parent131e41336f44d0d706329d16f4213670cb50f48a
* config.in (HAVE_DBUS): Add.

* Makefile.in: (HAVE_DBUS): Add D-Bus definitions if defined.
(ALL_CFLAGS): Add ${DBUS_CFLAGS}.
(obj): Add $(DBUS_OBJ).
(LIBES): Add $(DBUS_LIBS).
(dbusbind.o): New target.

* dbusbind.c: New file.

* emacs.c (main): Call syms_of_dbusbind when HAVE_DBUS is defined.

* keyboard.c: All D-Bus related code is wrapped by "#ifdef HAVE_DBUS".
(Qdbus_event) New Lisp symbol.
(kbd_buffer_get_event, make_lispy_event): Handle DBUS_EVENT.
(gobble_input): Call xd_read_queued_messages, reading D-Bus
messages.
(keys_of_keyboard ): Define dbus-event.

* termhooks.h (event_kind): Add DBUS_EVENT when HAVE_DBUS is defined.
src/ChangeLog
src/Makefile.in
src/config.in
src/dbusbind.c [new file with mode: 0644]
src/emacs.c
src/keyboard.c
src/termhooks.h