1 | /* |
2 | SPDX-FileCopyrightText: 2008 Nicola Gigante <nicola.gigante@gmail.com> |
3 | SPDX-FileCopyrightText: 2009 Dario Freddi <drf@kde.org> |
4 | |
5 | SPDX-License-Identifier: LGPL-2.1-or-later |
6 | */ |
7 | |
8 | #ifndef _POLICY_GEN_H_ |
9 | #define _POLICY_GEN_H_ |
10 | |
11 | #include <QHash> |
12 | #include <QMap> |
13 | #include <QString> |
14 | |
15 | struct Action { |
16 | QString name; |
17 | |
18 | QMap<QString, QString> descriptions; |
19 | QMap<QString, QString> messages; |
20 | |
21 | QString policy; |
22 | QString policyInactive; |
23 | QString persistence; |
24 | }; |
25 | |
26 | extern void output(const QList<Action> &actions, const QMap<QString, QString> &domain); |
27 | |
28 | #endif |
29 | |