[PATCH libgpiod v3 11/18] dbus: add a wrapper around the gdbus-codegen generated header

Bartosz Golaszewski <brgl-ARrdPY/[email protected]> Thu, 18 Jul 2024 11:28:05 +0200
Newsgroups gmane.comp.freedesktop.dbus,gmane.linux.kernel.gpio
Message-ID <[email protected]>
From: Bartosz Golaszewski <[email protected]>

Add a header that will be included by all the code using the automatically
generated GLib layer for the DBus interface.

Tested-by: Alexander Sverdlin <[email protected]>
Signed-off-by: Bartosz Golaszewski <[email protected]>
---
 dbus/lib/gpiodbus.h | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/dbus/lib/gpiodbus.h b/dbus/lib/gpiodbus.h
new file mode 100644
index 0000000..69362f0
--- /dev/null
+++ b/dbus/lib/gpiodbus.h
@@ -0,0 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
+/* SPDX-FileCopyrightText: 2023 Bartosz Golaszewski <[email protected]> */
+
+#ifndef __GPIODBUS_H__
+#define __GPIODBUS_H__
+
+#include "generated-gpiodbus.h"
+
+#endif /* __GPIODBUS_H__ */