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
491 */491 */
492 glm::vec2 getDeviceSize() const;492 glm::vec2 getDeviceSize() const;
493 493
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
494 /**jsdoc501 /**jsdoc
495 * Open a non-modal message box that can have a variety of button combinations. See also, 502 * Open a non-modal message box that can have a variety of button combinations. See also,
496 * {@link Window.updateMessageBox|updateMessageBox} and {@link Window.closeMessageBox|closeMessageBox}.503 * {@link Window.updateMessageBox|updateMessageBox} and {@link Window.closeMessageBox|closeMessageBox}.