libgpiod 2.2
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
21/*
22 * We don't make this symbol private because it needs to be accessible by
23 * the declarations in exception.hpp in order to expose the symbols of classes
24 * inheriting from standard exceptions.
25 */
26#define GPIOD_CXX_API __attribute__((visibility("default")))
27
32#define __LIBGPIOD_GPIOD_CXX_INSIDE__
33#include "gpiodcxx/chip.hpp"
38#include "gpiodcxx/info-event.hpp"
39#include "gpiodcxx/line.hpp"
43#include "gpiodcxx/line-settings.hpp"
46#undef __LIBGPIOD_GPIOD_CXX_INSIDE__
47
48#endif /* __LIBGPIOD_GPIOD_CXX_HPP__ */