summaryrefslogtreecommitdiff
path: root/indra/llwindow/llwindowcallbacks.h
diff options
context:
space:
mode:
authorAndrey Kleshchev <117672381+akleshchev@users.noreply.github.com>2025-09-11 20:38:09 +0300
committerAndrey Kleshchev <117672381+akleshchev@users.noreply.github.com>2025-09-12 23:32:51 +0300
commit8eb015666e0224574013d1338ddaf70a19355e5e (patch)
treedf3c1f462af67d1c0e9a600bbfd91a3370873c20 /indra/llwindow/llwindowcallbacks.h
parentac2cbdcc02efb8af88d91f02ec1b58022e4bf439 (diff)
#4651 Handle window's sessions termination
Diffstat (limited to 'indra/llwindow/llwindowcallbacks.h')
-rw-r--r--indra/llwindow/llwindowcallbacks.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/llwindow/llwindowcallbacks.h b/indra/llwindow/llwindowcallbacks.h
index d812f93524..59dcdd3ade 100644
--- a/indra/llwindow/llwindowcallbacks.h
+++ b/indra/llwindow/llwindowcallbacks.h
@@ -42,7 +42,8 @@ public:
virtual bool handleMouseUp(LLWindow *window, LLCoordGL pos, MASK mask);
virtual void handleMouseLeave(LLWindow *window);
// return true to allow window to close, which will then cause handleQuit to be called
- virtual bool handleCloseRequest(LLWindow *window);
+ virtual bool handleCloseRequest(LLWindow *window, bool from_user);
+ virtual bool handleSessionExit(LLWindow* window);
// window is about to be destroyed, clean up your business
virtual void handleQuit(LLWindow *window);
virtual bool handleRightMouseDown(LLWindow *window, LLCoordGL pos, MASK mask);