Phosphor
Qt6 / Wayland library suite for window-management tools
 
Loading...
Searching...
No Matches
WindowMarshalling.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: 2026 fuddlesworth
2// SPDX-License-Identifier: LGPL-2.1-or-later
3
4#pragma once
5
7#include <PhosphorProtocol/phosphorprotocol_export.h>
8
10
11#include <QDBusArgument>
12#include <QDBusMetaType>
13
15
16namespace PhosphorProtocol {
17
18PHOSPHORPROTOCOL_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const WindowGeometryEntry& e);
19PHOSPHORPROTOCOL_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, WindowGeometryEntry& e);
20PHOSPHORPROTOCOL_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const SnapConfirmationEntry& e);
21PHOSPHORPROTOCOL_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, SnapConfirmationEntry& e);
22PHOSPHORPROTOCOL_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const WindowOpenedEntry& e);
23PHOSPHORPROTOCOL_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, WindowOpenedEntry& e);
24PHOSPHORPROTOCOL_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const WindowStateEntry& e);
25PHOSPHORPROTOCOL_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, WindowStateEntry& e);
26PHOSPHORPROTOCOL_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const UnfloatRestoreResult& e);
27PHOSPHORPROTOCOL_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, UnfloatRestoreResult& e);
28
30 "WindowGeometryEntry missing QDBusArgument operators");
32 "SnapConfirmationEntry missing QDBusArgument operators");
34 "WindowOpenedEntry missing QDBusArgument operators");
36 "WindowStateEntry missing QDBusArgument operators");
38 "UnfloatRestoreResult missing QDBusArgument operators");
39
40} // namespace PhosphorProtocol
D-Bus marshalling for the autotile value types (see AutotileTypes.h).
Definition AutotileMarshalling.h:16
PHOSPHORPROTOCOL_EXPORT QDBusArgument & operator<<(QDBusArgument &arg, const TileRequestEntry &e)
PHOSPHORPROTOCOL_EXPORT const QDBusArgument & operator>>(const QDBusArgument &arg, TileRequestEntry &e)
Compile-time check that a type has QDBusArgument streaming operators.
Definition Streaming.h:27
D-Bus struct for batch snap confirmation: (sssb)
Definition WindowTypes.h:55
D-Bus struct for unfloat restore result: (bassiiii).
Definition WindowTypes.h:94
D-Bus struct for batch geometry entries: (siiiis)
Definition WindowTypes.h:29
D-Bus struct for batch window-opened notification: (ssii)
Definition WindowTypes.h:66
D-Bus struct for window state: (sssbsasb)
Definition WindowTypes.h:77