Showing the changes to interface/src/scripting/WindowScriptingInterface.h (1 of 2 files). Show all
Unified · Split
| @@ -295,6 +295,13 @@ public slots: · 294 unmodified lines | ||
| 295 | 295 | */ |
| 296 | 296 | QString checkVersion(); |
| 297 | 297 | |
| 298 | + /**jsdoc | |
| 299 | + * Gets Interface's user agent. | |
| 300 | + * @function Window.getUserAgent | |
| 301 | + * @returns {string} Interface's user agent. | |
| 302 | + */ | |
| 303 | + QString getUserAgent(); | |
| 304 | + | |
| 298 | 305 | /**jsdoc |
| 299 | 306 | * Gets the signature for Interface's protocol version. |
| 300 | 307 | * @function Window.protocolSignature |