1/*
2 SPDX-FileCopyrightText: 2025 Martin Rodriguez Reboredo <yakoyoku@gmail.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_WIFIP2PPEER_P_H
8#define NETWORKMANAGERQT_WIFIP2PPEER_P_H
9
10#include "accesspoint.h"
11#include "dbus/wifip2ppeerinterface.h"
12#include "wifip2ppeer.h"
13
14namespace NetworkManager
15{
16class WifiP2PPeerPrivate : public QObject
17{
18 Q_OBJECT
19public:
20 WifiP2PPeerPrivate(const QString &path, WifiP2PPeer *q);
21
22 OrgFreedesktopNetworkManagerWifiP2PPeerInterface iface;
23 QString uni;
24 AccessPoint::Capabilities flags;
25 QString hardwareAddress;
26 int lastSeen;
27 QString manufacturer;
28 QString model;
29 QString modelNumber;
30 QString name;
31 QString serial;
32 uchar strength;
33 QByteArray wfdIEs;
34
35 NetworkManager::AccessPoint::Capabilities convertCapabilities(int caps);
36
37 Q_DECLARE_PUBLIC(WifiP2PPeer)
38 WifiP2PPeer *q_ptr;
39private Q_SLOTS:
40 void dbusPropertiesChanged(const QString &interfaceName, const QVariantMap &properties, const QStringList &invalidatedProperties);
41 void propertiesChanged(const QVariantMap &properties);
42};
43
44}
45
46#endif /* NETWORKMANAGERQT_WIFIP2PPEER_P_H */
47

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