[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNU ELPA] Dbus-Codegen version 0.1
From: |
ELPA update |
Subject: |
[GNU ELPA] Dbus-Codegen version 0.1 |
Date: |
Sun, 31 Mar 2024 05:14:48 -0400 |
Version 0.1 of package Dbus-Codegen has just been released in GNU ELPA.
You can now find it in M-x list-packages RET.
Dbus-Codegen describes itself as:
===============================
Lisp code generation for D-Bus.
===============================
More at https://elpa.gnu.org/packages/dbus-codegen.html
## Summary:
This package provides macros and functions to make D-Bus
client/server implementation easy, inspired by the `gdbus-codegen'
utility in GLib. To get it work, `lexical-binding' must be
enabled.
* Client support
A proxy object representing a D-Bus client can be defined with
either `dbus-codegen-define-proxy' or `dbus-codegen-make-proxy'.
`dbus-codegen-define-proxy' takes a static XML definition of a
D-Bus service and generates code at compile time. This is good for
stable D-Bus services. On the other hand,
`dbus-codegen-make-proxy' uses D-Bus introspection and retrieves a
D-Bus service definition from a running service itself. This is
good for debugging or for unstable D-Bus services.
** Example
Suppose the following code:
(dbus-codegen-define-proxy test-proxy
## Recent NEWS:
[Not provided 🙁]
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNU ELPA] Dbus-Codegen version 0.1,
ELPA update <=