Showing the changes to interface/src/scripting/WindowScriptingInterface.h (1 of 6 files). Show all
Unified · Split
| @@ -491,6 +491,13 @@ public slots: · 490 unmodified lines | ||
| 491 | 491 | */ |
| 492 | 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 | 501 | /**jsdoc |
| 495 | 502 | * Open a non-modal message box that can have a variety of button combinations. See also, |
| 496 | 503 | * {@link Window.updateMessageBox|updateMessageBox} and {@link Window.closeMessageBox|closeMessageBox}. |