libgpiod
gpiod.hpp
Go to the documentation of this file.
1 /* SPDX-License-Identifier: LGPL-2.1-or-later */
2 /* SPDX-FileCopyrightText: 2021-2022 Bartosz Golaszewski <brgl@bgdev.pl> */
3 
8 #ifndef __LIBGPIOD_GPIOD_CXX_HPP__
9 #define __LIBGPIOD_GPIOD_CXX_HPP__
10 
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 
26 #define __LIBGPIOD_GPIOD_CXX_INSIDE__
27 #include "gpiodcxx/chip.hpp"
28 #include "gpiodcxx/chip-info.hpp"
29 #include "gpiodcxx/edge-event.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"
40 #undef __LIBGPIOD_GPIOD_CXX_INSIDE__
41 
42 #endif /* __LIBGPIOD_GPIOD_CXX_HPP__ */