summaryrefslogtreecommitdiff
path: root/indra/newview/llfilepicker_mac.h
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2023-01-26 16:58:00 +0200
committerakleshchev <117672381+akleshchev@users.noreply.github.com>2023-01-27 17:25:18 +0200
commit27080dc7f7f9a733706e0d9120b8ed805e8170c8 (patch)
tree9fcc1b583744035a72a1fe784d567ace44c64234 /indra/newview/llfilepicker_mac.h
parent2398a28af6f6c225c77b77bef422d1d2dec4a2bb (diff)
SL-18996 make MacOS picker dialogs modeless to avoid disconnects #2
Diffstat (limited to 'indra/newview/llfilepicker_mac.h')
-rw-r--r--indra/newview/llfilepicker_mac.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/indra/newview/llfilepicker_mac.h b/indra/newview/llfilepicker_mac.h
index d6b69bb856..2ec9d0c4e6 100644
--- a/indra/newview/llfilepicker_mac.h
+++ b/indra/newview/llfilepicker_mac.h
@@ -52,6 +52,14 @@ std::string* doSaveDialog(const std::string* file,
const std::string* creator,
const std::string* extension,
unsigned int flags);
+
+void doSaveDialogModeless(const std::string* file,
+ const std::string* type,
+ const std::string* creator,
+ const std::string* extension,
+ unsigned int flags,
+ void (*callback)(bool, std::string&, void*),
+ void *userdata);
enum {
F_FILE = 0x00000001,
F_DIRECTORY = 0x00000002,