Debian Codegraph @

bindings/cxx/gpiod.hpp

raw
1 /* SPDX-License-Identifier: LGPL-2.1-or-later */
2 /* SPDX-FileCopyrightText: 2021-2022 Bartosz Golaszewski <[email protected]> */
3
4 /**
5 * @file gpiod.hpp
6 */
7
8 #ifndef __LIBGPIOD_GPIOD_CXX_HPP__
9 #define __LIBGPIOD_GPIOD_CXX_HPP__
10
11 /**
12 * @cond
13 */
14
15 /*
16 * We don't make this symbol private because it needs to be accessible by
17 * the declarations in exception.hpp in order to expose the symbols of classes
18 * inheriting from standard exceptions.
19 */
20 #define GPIOD_CXX_API __attribute__((visibility("default")))
21
22 /**
23 * @endcond
24 */
25
26 #define __LIBGPIOD_GPIOD_CXX_INSIDE__
27 #include "gpiodcxx/chip.hpp"
28 #include "gpiodcxx/chip-info.hpp"
29 #include "gpiodcxx/edge-event.hpp"
30 #include "gpiodcxx/edge-event-buffer.hpp"
31 #include "gpiodcxx/exception.hpp"
32 #include "gpiodcxx/info-event.hpp"
33 #include "gpiodcxx/line.hpp"
34 #include "gpiodcxx/line-config.hpp"
35 #include "gpiodcxx/line-info.hpp"
36 #include "gpiodcxx/line-request.hpp"
37 #include "gpiodcxx/line-settings.hpp"
38 #include "gpiodcxx/request-builder.hpp"
39 #include "gpiodcxx/request-config.hpp"
40 #undef __LIBGPIOD_GPIOD_CXX_INSIDE__
41
42 #endif /* __LIBGPIOD_GPIOD_CXX_HPP__ */