1/*
2 SPDX-FileCopyrightText: 2012-2014 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_GRE_DEVICE_P_H
8#define NETWORKMANAGERQT_GRE_DEVICE_P_H
9
10#include "device_p.h"
11#include "gredevice.h"
12#include "manager.h"
13#include "manager_p.h"
14
15#include "gredeviceinterface.h"
16
17namespace NetworkManager
18{
19class GreDevicePrivate : public DevicePrivate
20{
21 Q_OBJECT
22public:
23 GreDevicePrivate(const QString &path, GreDevice *q);
24 ~GreDevicePrivate() override;
25
26 OrgFreedesktopNetworkManagerDeviceGreInterface iface;
27 ushort inputFlags;
28 ushort outputFlags;
29 uint inputKey;
30 uint outputKey;
31 QString localEnd;
32 QString remoteEnd;
33 QString parent;
34 bool pathMtuDiscovery;
35 uchar tos;
36 uchar ttl;
37
38 Q_DECLARE_PUBLIC(GreDevice)
39protected:
40 /**
41 * When subclassing make sure to call the parent class method
42 * if the property was not useful to your new class
43 */
44 void propertyChanged(const QString &property, const QVariant &value) override;
45};
46
47}
48
49#endif
50

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