mirror of
https://github.com/arcan1s/netctl-gui.git
synced 2025-07-27 04:29:58 +00:00
some improvements in helper and gui APIs and replacement and restoring
sessions
This commit is contained in:
@ -18,6 +18,7 @@
|
||||
#include "controladaptor.h"
|
||||
|
||||
#include <QTextCodec>
|
||||
#include <unistd.h>
|
||||
|
||||
#include "netctlhelper.h"
|
||||
#include "version.h"
|
||||
@ -93,6 +94,16 @@ QStringList ControlAdaptor::Settings()
|
||||
}
|
||||
|
||||
|
||||
QStringList ControlAdaptor::UIDs()
|
||||
{
|
||||
QStringList uids;
|
||||
uids.append(QString::number(getuid()));
|
||||
uids.append(QString::number(geteuid()));
|
||||
|
||||
return uids;
|
||||
}
|
||||
|
||||
|
||||
bool ControlAdaptor::Update()
|
||||
{
|
||||
helper->updateConfiguration();
|
||||
|
Reference in New Issue
Block a user