Showing the changes to interface/src/scripting/LocationScriptingInterface.cpp (1 of 3 files). Show all
Unified · Split
| @@ -20,6 +20,10 @@ LocationScriptingInterface* LocationScriptingInterface::getInstance() { · 19 unmodified lines | ||
| 20 | 20 | return &sharedInstance; |
| 21 | 21 | } |
| 22 | 22 | |
| 23 | +bool LocationScriptingInterface::isConnected() { | |
| 24 | + return NodeList::getInstance()->getDomainHandler().isConnected(); | |
| 25 | +} | |
| 26 | + | |
| 23 | 27 | QString LocationScriptingInterface::getHref() { |
| 24 | 28 | return getProtocol() + "//" + getHostname() + getPathname(); |
| 25 | 29 | } |