| 1 | /* |
| 2 | * Copyright © 2025 Octopull Ltd. |
| 3 | * |
| 4 | * This program is free software: you can redistribute it and/or modify it |
| 5 | * under the terms of the GNU General Public License version 3, |
| 6 | * as published by the Free Software Foundation. |
| 7 | * |
| 8 | * This program is distributed in the hope that it will be useful, |
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 11 | * GNU General Public License for more details. |
| 12 | * |
| 13 | * You should have received a copy of the GNU General Public License |
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 15 | * |
| 16 | * Authored by: Alan Griffiths <[email protected]> |
| 17 | */ |
| 18 | |
| 19 | #ifndef MIRIWAY_MIRIWAY_MAGNIFIER_H |
| 20 | #define MIRIWAY_MIRIWAY_MAGNIFIER_Hcxx . . $ `miriway_magnifier.h:20:9`! |
| 21 | |
| 22 | #include <miral/append_keyboard_event_filter.h> |
| 23 | #include <miral/magnifier.h> |
| 24 | |
| 25 | namespace miriwaycxx . . $ miriway/ |
| 26 | { |
| 27 | class Magnifiercxx . . $ miriway/Magnifier# : miralcxx . . $ miral/::Magnifiercxx . . $ miral/Magnifier# |
| 28 | { |
| 29 | miralcxx . . $ miral/::AppendKeyboardEventFiltercxx . . $ miral/AppendKeyboardEventFilter# magnifier_filtercxx . . $ miriway/Magnifier#magnifier_filter.{cxx . . $ miral/AppendKeyboardEventFilter#AppendKeyboardEventFilter(351ff19e80f37870).[cxx . . $ std/function#function(bdc3712e480e4d04).this](auto... args) { return check_on_offcxx . . $ miriway/Magnifier#check_on_off(6725c17e1e9c3e1e).(args...); }}; |
| 30 | |
| 31 | bool check_on_offcxx . . $ miriway/Magnifier#check_on_off(6725c17e1e9c3e1e).(MirKeyboardEventcxx . . $ MirKeyboardEvent# const* key_event); |
| 32 | public: |
| 33 | using miralcxx . . $ miral/::Magnifiercxx . . $ miral/Magnifier#::Magnifiercxx . . $ miriway/Magnifier#Magnifier(bef0a8c9d9d46897).; |
| 34 | |
| 35 | void operatorcxx . . $ miriway/Magnifier#`operator()`(c76c63cb645f0e43).()(mircxx . . $ mir/::Servercxx . . $ mir/Server#& server); |
| 36 | }; |
| 37 | } |
| 38 | |
| 39 | #endif //MIRIWAY_MIRIWAY_MAGNIFIER_H |