Showing the changes to interface/src/scripting/LocationScriptingInterface.h (1 of 2 files). Show all
Unified · Split
| @@ -29,6 +29,7 @@ class LocationScriptingInterface : public QObject { · 28 unmodified lines | |||
| 29 | Q_PROPERTY(QString protocol READ getProtocol) | 29 | Q_PROPERTY(QString protocol READ getProtocol) |
| 30 | Q_PROPERTY(QString hostname READ getHostname) | 30 | Q_PROPERTY(QString hostname READ getHostname) |
| 31 | Q_PROPERTY(QString pathname READ getPathname) | 31 | Q_PROPERTY(QString pathname READ getPathname) |
| 32 | Q_PROPERTY(QString domainID READ getDomainID) | ||
| 32 | LocationScriptingInterface() { }; | 33 | LocationScriptingInterface() { }; |
| 33 | public: | 34 | public: |
| 34 | static LocationScriptingInterface* getInstance(); | 35 | static LocationScriptingInterface* getInstance(); |
| @@ -38,6 +39,7 @@ public: · 3 unmodified lines | |||
| 38 | QString getProtocol() { return HIFI_URL_SCHEME; }; | 39 | QString getProtocol() { return HIFI_URL_SCHEME; }; |
| 39 | QString getPathname(); | 40 | QString getPathname(); |
| 40 | QString getHostname(); | 41 | QString getHostname(); |
| 42 | QString getDomainID() const; | ||
| 41 | 43 | ||
| 42 | static QScriptValue locationGetter(QScriptContext* context, QScriptEngine* engine); | 44 | static QScriptValue locationGetter(QScriptContext* context, QScriptEngine* engine); |
| 43 | static QScriptValue locationSetter(QScriptContext* context, QScriptEngine* engine); | 45 | static QScriptValue locationSetter(QScriptContext* context, QScriptEngine* engine); |