History

expose domain connection error to Window

Wayne Chen committed 8 years ago

Commit 0f257561 parent 07bda906 files · +20 −12Browse files

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

Unified · Split

interface/src/scripting/WindowScriptingInterface.h+7−0
@@ -491,6 +491,13 @@ public slots: · 490 unmodified lines
491491 */
492492 glm::vec2 getDeviceSize() const;
493493
494+ /**jsdoc
495+ * Gets the last domain connection error when a connection is refused.
496+ * @function Window.getLastDomainConnectionError
497+ * @returns {Window.ConnectionRefusedReason} Integer number that enumerates the last domain connection refused.
498+ */
499+ int getLastDominConnectionError() const;
500+
494501 /**jsdoc
495502 * Open a non-modal message box that can have a variety of button combinations. See also,
496503 * {@link Window.updateMessageBox|updateMessageBox} and {@link Window.closeMessageBox|closeMessageBox}.