bindings: cxx: examples: replace tools examples with use case examples
authorKent Gibson <warthog618@gmail.com>
Fri, 23 Jun 2023 04:38:57 +0000 (12:38 +0800)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Fri, 23 Jun 2023 15:29:09 +0000 (17:29 +0200)
commit1bdb874a2d3c31faa3b8dcb5c4a3b0ca2ce81742
treeb3d6ea1dea9597dd8b0049f6e3f5a120e8125636
parenta6922da6ea58c93706ac8ef6dc6fe70394104191
bindings: cxx: examples: replace tools examples with use case examples

Replace tool examples with use case examples drawn from the tools.

Signed-off-by: Kent Gibson <warthog618@gmail.com>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
18 files changed:
bindings/cxx/examples/.gitignore
bindings/cxx/examples/Makefile.am
bindings/cxx/examples/find_line_by_name.cpp [new file with mode: 0644]
bindings/cxx/examples/get_chip_info.cpp [new file with mode: 0644]
bindings/cxx/examples/get_line_info.cpp [new file with mode: 0644]
bindings/cxx/examples/get_multiple_line_values.cpp [new file with mode: 0644]
bindings/cxx/examples/gpiodetectcxx.cpp [deleted file]
bindings/cxx/examples/gpiofindcxx.cpp [deleted file]
bindings/cxx/examples/gpiogetcxx.cpp [deleted file]
bindings/cxx/examples/gpioinfocxx.cpp [deleted file]
bindings/cxx/examples/gpiomoncxx.cpp [deleted file]
bindings/cxx/examples/gpionotifycxx.cpp [deleted file]
bindings/cxx/examples/gpiosetcxx.cpp [deleted file]
bindings/cxx/examples/reconfigure_input_to_output.cpp [new file with mode: 0644]
bindings/cxx/examples/toggle_multiple_line_values.cpp [new file with mode: 0644]
bindings/cxx/examples/watch_line_info.cpp [new file with mode: 0644]
bindings/cxx/examples/watch_line_rising.cpp [new file with mode: 0644]
bindings/cxx/examples/watch_multiple_line_values.cpp [new file with mode: 0644]