mirror of
https://github.com/cmclark00/retro-imager.git
synced 2025-05-19 00:15:21 +01:00
Linux distros that use NetworkManager: prefill WLAN PSK
Only supported when NetworkManager is used on the Linux distro as wpa_supplicant itself does not support reading PSKs through DBus, only setting them. Closes #457
This commit is contained in:
parent
b1606dd1fb
commit
ef4abc661f
5 changed files with 107 additions and 3 deletions
22
src/linux/networkmanagerapi.h
Normal file
22
src/linux/networkmanagerapi.h
Normal file
|
@ -0,0 +1,22 @@
|
|||
#ifndef NETWORKMANAGERAPI_H
|
||||
#define NETWORKMANAGERAPI_H
|
||||
|
||||
/*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
* Copyright (C) 2022 Raspberry Pi Ltd
|
||||
*/
|
||||
|
||||
#include <QObject>
|
||||
|
||||
class NetworkManagerApi : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit NetworkManagerApi(QObject *parent = nullptr);
|
||||
QString getPSK();
|
||||
|
||||
signals:
|
||||
|
||||
};
|
||||
|
||||
#endif // NETWORKMANAGERAPI_H
|
Loading…
Add table
Add a link
Reference in a new issue