|
|
@@ -25,6 +25,9 @@ public:
|
|
|
/// Set whether to pause update events and audio when minimized.
|
|
|
void SetPauseMinimized(bool enable);
|
|
|
|
|
|
+ /// Set whether to exit automatically on exit request (window close button.)
|
|
|
+ void SetAutoExit(bool enable);
|
|
|
+
|
|
|
/// Close the application window and set the exit flag.
|
|
|
void Exit();
|
|
|
|
|
|
@@ -49,6 +52,9 @@ public:
|
|
|
/// Return whether to pause update events and audio when minimized.
|
|
|
bool GetPauseMinimized() const;
|
|
|
|
|
|
+ /// Return whether to exit automatically on exit request.
|
|
|
+ bool GetAutoExit() const;
|
|
|
+
|
|
|
/// Return whether engine has been initialized.
|
|
|
bool IsInitialized() const;
|
|
|
|