History

Add API call to retrieve user agent.

Kasen IO committed 6 years ago

Commit f4016bb1 parent 647b4532 files · +12 −0Browse files

Showing the changes to interface/src/scripting/WindowScriptingInterface.h (1 of 2 files). Show all

Unified · Split

interface/src/scripting/WindowScriptingInterface.h+7−0
@@ -295,6 +295,13 @@ public slots: · 294 unmodified lines
295 */295 */
296 QString checkVersion();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 /**jsdoc305 /**jsdoc
299 * Gets the signature for Interface's protocol version.306 * Gets the signature for Interface's protocol version.
300 * @function Window.protocolSignature307 * @function Window.protocolSignature