| 1 | // SPDX-FileCopyrightText: 2025 Raphael Rosch <[email protected]>cxx . . $ `<file>/src/udev_monitor.hpp`/ |
| 2 | // SPDX-License-Identifier: GPL-3.0-or-later |
| 3 | |
| 4 | #ifndef HEADER_UDEV_MONITOR_HELPER_HPP |
| 5 | #define HEADER_UDEV_MONITOR_HELPER_HPPcxx . . $ `src/udev_monitor.hpp:5:9`! |
| 6 | |
| 7 | #include <glibmm.h> |
| 8 | #include <libudev.h> |
| 9 | #include <string> |
| 10 | #include <sigc++/signal.h> |
| 11 | |
| 12 | class UdevMonitorcxx . . $ UdevMonitor# { |
| 13 | public: |
| 14 | UdevMonitorcxx . . $ UdevMonitor#UdevMonitor(49f6e7a06ebc5aa8).(); |
| 15 | ~cxx . . $ UdevMonitor#`~UdevMonitor`(49f6e7a06ebc5aa8).UdevMonitorcxx . . $ UdevMonitor#(); |
| 16 | |
| 17 | sigccxx . . $ sigc/::signalcxx . . $ sigc/signal#<void, stdcxx . . $ std/::stringcxx . . $ std/string#, stdcxx . . $ std/::stringcxx . . $ std/string#> signal_joystick_eventcxx . . $ UdevMonitor#signal_joystick_event.; |
| 18 | |
| 19 | private: |
| 20 | struct udev* udevcxx . . $ UdevMonitor#udev. = nullptr; |
| 21 | struct udev_monitor* monitorcxx . . $ UdevMonitor#monitor. = nullptr; |
| 22 | int fdcxx . . $ UdevMonitor#fd. = -1; |
| 23 | sigccxx . . $ sigc/::connectioncxx . . $ sigc/connection# watchcxx . . $ UdevMonitor#watch.; |
| 24 | |
| 25 | bool on_io_eventcxx . . $ UdevMonitor#on_io_event(eeaa91d3ba1dceee).(Glibcxx . . $ Glib/::IOConditioncxx . . $ Glib/IOCondition#); |
| 26 | }; |
| 27 | |
| 28 | #endif // HEADER_UDEV_MONITOR_HELPER_HPP |
| 29 | |
| 30 | /* EOF */ |
| 31 |