- Implement UPnP enable/disable

This commit is contained in:
zzz
2009-04-28 19:49:09 +00:00
parent c2fedf8538
commit accf3dbf3f
4 changed files with 38 additions and 17 deletions

View File

@ -109,6 +109,13 @@ public class ConfigNetHelper extends HelperBase {
return "";
}
public String getUpnpChecked() {
if (Boolean.valueOf(_context.getProperty(TransportManager.PROP_ENABLE_UPNP)).booleanValue())
return " checked ";
else
return "";
}
public String getRequireIntroductionsChecked() {
short status = _context.commSystem().getReachabilityStatus();
switch (status) {