Phosphor
Qt6 / Wayland library suite for window-management tools
Loading...
Searching...
No Matches
ExclusionRules.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 <QStringList>
7
8#include "phosphorrules_export.h"
9
53
54namespace PhosphorRules {
55
56class RuleSet;
57
58namespace ExclusionRules {
59
72PHOSPHORRULES_EXPORT RuleSet excludeRulesFrom(const RuleSet& source);
73
83PHOSPHORRULES_EXPORT RuleSet excludePlacementRulesFrom(const RuleSet& source);
84
92PHOSPHORRULES_EXPORT RuleSet excludeDecorationsRulesFrom(const RuleSet& source);
93
100PHOSPHORRULES_EXPORT RuleSet excludeAnimationsRulesFrom(const RuleSet& source);
101
129PHOSPHORRULES_EXPORT QStringList applicationExcludePatternsFrom(const RuleSet& source);
130
131} // namespace ExclusionRules
132
133} // namespace PhosphorRules
An ordered collection of Rules — the persistent rule store.
Definition RuleSet.h:33
Definition ExclusionRules.h:58
PHOSPHORRULES_EXPORT RuleSet excludeDecorationsRulesFrom(const RuleSet &source)
Slice source down to rules carrying a terminal Exclude OR ExcludeDecorations action — the set the KWi...
PHOSPHORRULES_EXPORT RuleSet excludeAnimationsRulesFrom(const RuleSet &source)
Slice source down to rules with a terminal ExcludeAnimations action — the action the v4 fold introduc...
PHOSPHORRULES_EXPORT QStringList applicationExcludePatternsFrom(const RuleSet &source)
Return the AppId pattern of every AppId AppIdMatches <pattern> leaf that lives on an enabled Exclude-...
PHOSPHORRULES_EXPORT RuleSet excludePlacementRulesFrom(const RuleSet &source)
Slice source down to rules carrying a terminal Exclude OR ExcludePlacement action — the full set of r...
PHOSPHORRULES_EXPORT RuleSet excludeRulesFrom(const RuleSet &source)
Slice source down to rules with a terminal Exclude action — the BLANKET-only shape.
Definition ActionParams.h:25