1/*
2 SPDX-FileCopyrightText: 2019 Jan Grulich <jgrulich@redhat.com>
3
4 SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
5*/
6
7#ifndef NETWORKMANAGERQT_WIREGUARD_DEVICE_P_H
8#define NETWORKMANAGERQT_WIREGUARD_DEVICE_P_H
9
10#include "device_p.h"
11#include "manager.h"
12#include "wireguarddevice.h"
13
14#include "wireguarddeviceinterface.h"
15
16namespace NetworkManager
17{
18class WireGuardDevicePrivate : public DevicePrivate
19{
20public:
21 WireGuardDevicePrivate(const QString &path, WireGuardDevice *q);
22 ~WireGuardDevicePrivate() override;
23
24 OrgFreedesktopNetworkManagerDeviceWireGuardInterface iface;
25 QByteArray publicKey;
26 uint listenPort;
27 uint fwMark;
28
29 Q_DECLARE_PUBLIC(WireGuardDevice)
30protected:
31 /**
32 * When subclassing make sure to call the parent class method
33 * if the property was not useful to your new class
34 */
35 void propertyChanged(const QString &property, const QVariant &value) override;
36};
37}
38
39#endif
40

source code of networkmanager-qt/src/wireguarddevice_p.h