update submodule

update netctl-auto
update interfaces
This commit is contained in:
arcan1s
2015-03-15 18:17:49 +03:00
parent f80d6aae6b
commit 3f49988cef
19 changed files with 220 additions and 378 deletions

View File

@ -57,23 +57,6 @@ NetctlInterface::~NetctlInterface()
}
/**
* @fn autoEnableProfile
*/
InterfaceAnswer NetctlInterface::autoEnableProfile(const QString profile)
{
if (debug) qDebug() << PDEBUG;
if (netctlCommand == nullptr) {
if (debug) qDebug() << PDEBUG << ":" << "Could not find library";
return InterfaceAnswer::Error;
}
netctlCommand->autoEnableProfile(profile);
return static_cast<InterfaceAnswer>(netctlCommand->autoIsProfileEnabled(profile));
}
/**
* @fn connectToEssid
*/
@ -300,6 +283,7 @@ netctlInformation NetctlInterface::information()
netctlInformation info;
info.netctlAuto = netctlCommand->isNetctlAutoRunning();
info.netctlAutoEnabled = netctlCommand->isNetctlAutoEnabled();
info.netctlProfiles = netctlCommand->getProfileList();
if (info.netctlAuto) info.netctlAutoProfiles = netctlCommand->getProfileListFromNetctlAuto();