Skip to content
Phosphor
/
API Reference
Search
PlasmaZones
Libraries
Guides
Brand
Palette
About
GitHub
Phosphor
Qt6 / Wayland library suite for window-management tools
Loading...
Searching...
No Matches
ZoneMarshalling.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
6
#include <
PhosphorProtocol/ZoneTypes.h
>
7
#include <PhosphorProtocol/phosphorprotocol_export.h>
8
9
#include <
PhosphorDBus/Streaming.h
>
10
11
#include <QDBusArgument>
12
#include <QDBusMetaType>
13
15
16
namespace
PhosphorProtocol
{
17
18
PHOSPHORPROTOCOL_EXPORT QDBusArgument&
operator<<
(QDBusArgument& arg,
const
ZoneGeometryRect
& e);
19
PHOSPHORPROTOCOL_EXPORT
const
QDBusArgument&
operator>>
(
const
QDBusArgument& arg,
ZoneGeometryRect
& e);
20
PHOSPHORPROTOCOL_EXPORT QDBusArgument&
operator<<
(QDBusArgument& arg,
const
EmptyZoneEntry
& e);
21
PHOSPHORPROTOCOL_EXPORT
const
QDBusArgument&
operator>>
(
const
QDBusArgument& arg,
EmptyZoneEntry
& e);
22
PHOSPHORPROTOCOL_EXPORT QDBusArgument&
operator<<
(QDBusArgument& arg,
const
SnapAssistCandidate
& e);
23
PHOSPHORPROTOCOL_EXPORT
const
QDBusArgument&
operator>>
(
const
QDBusArgument& arg,
SnapAssistCandidate
& e);
24
PHOSPHORPROTOCOL_EXPORT QDBusArgument&
operator<<
(QDBusArgument& arg,
const
NamedZoneGeometry
& e);
25
PHOSPHORPROTOCOL_EXPORT
const
QDBusArgument&
operator>>
(
const
QDBusArgument& arg,
NamedZoneGeometry
& e);
26
27
static_assert
(
PhosphorDBus::HasDBusStreaming<ZoneGeometryRect>::value
,
28
"ZoneGeometryRect missing QDBusArgument operators"
);
29
static_assert
(
PhosphorDBus::HasDBusStreaming<EmptyZoneEntry>::value
,
"EmptyZoneEntry missing QDBusArgument operators"
);
30
static_assert
(
PhosphorDBus::HasDBusStreaming<SnapAssistCandidate>::value
,
31
"SnapAssistCandidate missing QDBusArgument operators"
);
32
static_assert
(
PhosphorDBus::HasDBusStreaming<NamedZoneGeometry>::value
,
33
"NamedZoneGeometry missing QDBusArgument operators"
);
34
35
}
// namespace PhosphorProtocol
Streaming.h
ZoneTypes.h
PhosphorProtocol
D-Bus marshalling for the autotile value types (see AutotileTypes.h).
Definition
AutotileMarshalling.h:16
PhosphorProtocol::operator<<
PHOSPHORPROTOCOL_EXPORT QDBusArgument & operator<<(QDBusArgument &arg, const TileRequestEntry &e)
PhosphorProtocol::operator>>
PHOSPHORPROTOCOL_EXPORT const QDBusArgument & operator>>(const QDBusArgument &arg, TileRequestEntry &e)
PhosphorDBus::HasDBusStreaming
Compile-time check that a type has QDBusArgument streaming operators.
Definition
Streaming.h:27
PhosphorProtocol::EmptyZoneEntry
D-Bus struct for empty zone info: (siiiiiibsssdd)
Definition
ZoneTypes.h:37
PhosphorProtocol::NamedZoneGeometry
D-Bus struct for named zone geometry: (siiii)
Definition
ZoneTypes.h:73
PhosphorProtocol::SnapAssistCandidate
D-Bus struct for snap assist candidate: (ssss)
Definition
ZoneTypes.h:62
PhosphorProtocol::ZoneGeometryRect
D-Bus struct for zone geometry: (iiii)
Definition
ZoneTypes.h:17
phosphor-protocol
include
PhosphorProtocol
ZoneMarshalling.h
Generated by
1.9.8