| 1 | /* |
| 2 | KWin - the KDE window manager |
| 3 | This file is part of the KDE project. |
| 4 | |
| 5 | SPDX-FileCopyrightText: 2019 Roman Gilg <[email protected]> |
| 6 | SPDX-FileCopyrightText: 2020 Vlad Zahorodnii <[email protected]> |
| 7 | |
| 8 | SPDX-License-Identifier: GPL-2.0-or-later |
| 9 | */ |
| 10 | #pragma once |
| 11 | |
| 12 | #include "config-kwin.h"cxx . . $ `<file>/build/src/config-kwin.h`/ |
| 13 | |
| 14 | #if !KWIN_BUILD_X11cxx . . $ `build/src/config-kwin.h:13:9`! |
| 15 | #error Do not include on non-X11 builds |
| 16 | #endif |
| 17 | |
| 18 | #include <memory> |
| 19 | |
| 20 | #include "xwayland_interface.h"cxx . . $ `<file>/src/xwayland/xwayland_interface.h`/ |
| 21 | |
| 22 | #include <memory> |
| 23 | |
| 24 | class KSelectionOwnercxx . . $ KSelectionOwner#; |
| 25 | class QSocketNotifiercxx . . $ QSocketNotifier#; |
| 26 | |
| 27 | namespace KWincxx . . $ KWin/ |
| 28 | { |
| 29 | class Outputcxx . . $ KWin/Output#; |
| 30 | class Applicationcxx . . $ KWin/Application#; |
| 31 | |
| 32 | namespace Xwlcxx . . $ KWin/Xwl/ |
| 33 | { |
| 34 | class XrandrEventFiltercxx . . $ KWin/Xwl/XrandrEventFilter#; |
| 35 | class XwaylandInputFiltercxx . . $ KWin/Xwl/XwaylandInputFilter#; |
| 36 | class XwaylandLaunchercxx . . $ KWin/Xwl/XwaylandLauncher#; |
| 37 | class DataBridgecxx . . $ KWin/Xwl/DataBridge#; |
| 38 | |
| 39 | class KWIN_EXPORTcxx . . $ `build/src/kwin_export.h:15:15`! Xwaylandcxx . . $ KWin/Xwl/Xwayland# : public QObjectcxx . . $ QObject#, public XwaylandInterfacecxx . . $ KWin/XwaylandInterface# |
| 40 | { |
| 41 | Q_OBJECTcxx . . $ KWin/Xwl/Xwayland#staticMetaObject. |
| 42 | |
| 43 | public: |
| 44 | Xwaylandcxx . . $ KWin/Xwl/Xwayland#Xwayland(2c1d2a1986fb57ab).(Applicationcxx . . $ KWin/Application# *app); |
| 45 | ~cxx . . $ KWin/Xwl/Xwayland#`~Xwayland`(49f6e7a06ebc5aa8).Xwaylandcxx . . $ KWin/Xwl/Xwayland#() override; |
| 46 | |
| 47 | void initcxx . . $ KWin/Xwl/Xwayland#init(49f6e7a06ebc5aa8).(); |
| 48 | |
| 49 | XwaylandLaunchercxx . . $ KWin/Xwl/XwaylandLauncher# *xwaylandLaunchercxx . . $ KWin/Xwl/Xwayland#xwaylandLauncher(590d6ea5da0f8d1).() const; |
| 50 | |
| 51 | Q_SIGNALScxx . . $ `<external>/4830994369567095248/qtmetamacros.h:47:10`!: |
| 52 | /** |
| 53 | * This signal is emitted when the Xwayland server has been started successfully and it is |
| 54 | * ready to accept and manage X11 clients. |
| 55 | */ |
| 56 | void startedcxx . . $ KWin/Xwl/Xwayland#started(49f6e7a06ebc5aa8).(); |
| 57 | |
| 58 | /** |
| 59 | * This signal is emitted when an error occurs with the Xwayland server. |
| 60 | */ |
| 61 | void errorOccurredcxx . . $ KWin/Xwl/Xwayland#errorOccurred(49f6e7a06ebc5aa8).(); |
| 62 | |
| 63 | private Q_SLOTScxx . . $ `<external>/4830994369567095248/qtmetamacros.h:46:10`!: |
| 64 | void handleXwaylandFinishedcxx . . $ KWin/Xwl/Xwayland#handleXwaylandFinished(49f6e7a06ebc5aa8).(); |
| 65 | void handleXwaylandReadycxx . . $ KWin/Xwl/Xwayland#handleXwaylandReady(49f6e7a06ebc5aa8).(); |
| 66 | |
| 67 | private: |
| 68 | friend class XrandrEventFiltercxx . . $ KWin/Xwl/XrandrEventFilter#; |
| 69 | |
| 70 | enum class DispatchEventsModecxx . . $ KWin/Xwl/Xwayland#DispatchEventsMode# { |
| 71 | Pollcxx . . $ KWin/Xwl/Xwayland#DispatchEventsMode#Poll., |
| 72 | EventQueuecxx . . $ KWin/Xwl/Xwayland#DispatchEventsMode#EventQueue. |
| 73 | }; |
| 74 | void dispatchEventscxx . . $ KWin/Xwl/Xwayland#dispatchEvents(f13ecbc20b619f1a).(DispatchEventsModecxx . . $ KWin/Xwl/Xwayland#DispatchEventsMode# mode); |
| 75 | |
| 76 | void installSocketNotifiercxx . . $ KWin/Xwl/Xwayland#installSocketNotifier(49f6e7a06ebc5aa8).(); |
| 77 | void uninstallSocketNotifiercxx . . $ KWin/Xwl/Xwayland#uninstallSocketNotifier(49f6e7a06ebc5aa8).(); |
| 78 | void updatePrimarycxx . . $ KWin/Xwl/Xwayland#updatePrimary(49f6e7a06ebc5aa8).(); |
| 79 | void refreshEavesdroppingcxx . . $ KWin/Xwl/Xwayland#refreshEavesdropping(49f6e7a06ebc5aa8).(); |
| 80 | |
| 81 | bool createX11Connectioncxx . . $ KWin/Xwl/Xwayland#createX11Connection(c9857a73d68e59ba).(); |
| 82 | void destroyX11Connectioncxx . . $ KWin/Xwl/Xwayland#destroyX11Connection(49f6e7a06ebc5aa8).(); |
| 83 | |
| 84 | void runXWaylandStartupScriptscxx . . $ KWin/Xwl/Xwayland#runXWaylandStartupScripts(49f6e7a06ebc5aa8).(); |
| 85 | |
| 86 | DragEventReplycxx . . $ KWin/Xwl/DragEventReply# dragMoveFiltercxx . . $ KWin/Xwl/Xwayland#dragMoveFilter(dc4fab6074921167).(Windowcxx . . $ KWin/Window# *target) override; |
| 87 | AbstractDropHandlercxx . . $ KWin/AbstractDropHandler# *xwlDropHandlercxx . . $ KWin/Xwl/Xwayland#xwlDropHandler(42078a87defb1235).() override; |
| 88 | QSocketNotifiercxx . . $ QSocketNotifier# *m_socketNotifiercxx . . $ KWin/Xwl/Xwayland#m_socketNotifier. = nullptr; |
| 89 | |
| 90 | Applicationcxx . . $ KWin/Application# *m_appcxx . . $ KWin/Xwl/Xwayland#m_app.; |
| 91 | stdcxx . . $ std/::unique_ptrcxx . . $ std/unique_ptr#<KSelectionOwnercxx . . $ KSelectionOwner#> m_windowManagerSelectionOwnercxx . . $ KWin/Xwl/Xwayland#m_windowManagerSelectionOwner.; |
| 92 | stdcxx . . $ std/::unique_ptrcxx . . $ std/unique_ptr#<KSelectionOwnercxx . . $ KSelectionOwner#> m_compositingManagerSelectionOwnercxx . . $ KWin/Xwl/Xwayland#m_compositingManagerSelectionOwner.; |
| 93 | stdcxx . . $ std/::unique_ptrcxx . . $ std/unique_ptr#<DataBridgecxx . . $ KWin/Xwl/DataBridge#> m_dataBridgecxx . . $ KWin/Xwl/Xwayland#m_dataBridge.; |
| 94 | |
| 95 | XrandrEventFiltercxx . . $ KWin/Xwl/XrandrEventFilter# *m_xrandrEventsFiltercxx . . $ KWin/Xwl/Xwayland#m_xrandrEventsFilter. = nullptr; |
| 96 | XwaylandLaunchercxx . . $ KWin/Xwl/XwaylandLauncher# *m_launchercxx . . $ KWin/Xwl/Xwayland#m_launcher.; |
| 97 | stdcxx . . $ std/::unique_ptrcxx . . $ std/unique_ptr#<XwaylandInputFiltercxx . . $ KWin/Xwl/XwaylandInputFilter#> m_inputFiltercxx . . $ KWin/Xwl/Xwayland#m_inputFilter.; |
| 98 | |
| 99 | Q_DISABLE_COPYcxx . . $ KWin/Xwl/Xwayland#Xwayland(c9fb60ecfea439aa).(Xwayland) |
| 100 | }; |
| 101 | |
| 102 | } // namespace Xwl |
| 103 | } // namespace KWin |