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
295295 */
296296 QString checkVersion();
297297
298+ /**jsdoc
299+ * Gets Interface's user agent.
300+ * @function Window.getUserAgent
301+ * @returns {string} Interface's user agent.
302+ */
303+ QString getUserAgent();
304+
298305 /**jsdoc
299306 * Gets the signature for Interface's protocol version.
300307 * @function Window.protocolSignature