Add UPower Device interface
Add a YAML description of the UPower Device interface defined at
https://upower.freedesktop.org/docs/Device.html
Signed-off-by: Shawn McCarney <shawnmm@us.ibm.com>
Change-Id: Ib70d6525b913cf06da4e93a53e332487126f1db0
diff --git a/gen/org/freedesktop/UPower/Device/meson.build b/gen/org/freedesktop/UPower/Device/meson.build
new file mode 100644
index 0000000..79421b7
--- /dev/null
+++ b/gen/org/freedesktop/UPower/Device/meson.build
@@ -0,0 +1,14 @@
+# Generated file; do not modify.
+generated_sources += custom_target(
+ 'org/freedesktop/UPower/Device__cpp'.underscorify(),
+ input: [ '../../../../../yaml/org/freedesktop/UPower/Device.interface.yaml', ],
+ output: [ 'server.cpp', 'server.hpp', 'client.hpp', ],
+ command: [
+ sdbuspp_gen_meson_prog, '--command', 'cpp',
+ '--output', meson.current_build_dir(),
+ '--tool', sdbusplusplus_prog,
+ '--directory', meson.current_source_dir() / '../../../../../yaml',
+ 'org/freedesktop/UPower/Device',
+ ],
+)
+
diff --git a/gen/org/freedesktop/UPower/meson.build b/gen/org/freedesktop/UPower/meson.build
new file mode 100644
index 0000000..5569eff
--- /dev/null
+++ b/gen/org/freedesktop/UPower/meson.build
@@ -0,0 +1,15 @@
+# Generated file; do not modify.
+subdir('Device')
+generated_others += custom_target(
+ 'org/freedesktop/UPower/Device__markdown'.underscorify(),
+ input: [ '../../../../yaml/org/freedesktop/UPower/Device.interface.yaml', ],
+ output: [ 'Device.md' ],
+ command: [
+ sdbuspp_gen_meson_prog, '--command', 'markdown',
+ '--output', meson.current_build_dir(),
+ '--tool', sdbusplusplus_prog,
+ '--directory', meson.current_source_dir() / '../../../../yaml',
+ 'org/freedesktop/UPower/Device',
+ ],
+)
+
diff --git a/gen/org/freedesktop/meson.build b/gen/org/freedesktop/meson.build
new file mode 100644
index 0000000..1ee0a87
--- /dev/null
+++ b/gen/org/freedesktop/meson.build
@@ -0,0 +1,2 @@
+# Generated file; do not modify.
+subdir('UPower')
diff --git a/gen/org/meson.build b/gen/org/meson.build
index 6488f22..dc6fcbb 100644
--- a/gen/org/meson.build
+++ b/gen/org/meson.build
@@ -1,2 +1,3 @@
# Generated file; do not modify.
+subdir('freedesktop')
subdir('open_power')