diff options
author | Nicky Dasmijn <nicky.dasmijn@posteo.nl> | 2024-04-05 19:25:02 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-05 20:25:02 +0300 |
commit | 57d423745fd1d3d0ea6a0c69b869a20c27e27fc5 (patch) | |
tree | f590e086983c7277e4b05fcd54c3eebf6b12f43a /indra/newview/llfilepicker.h | |
parent | cc8d71c18c124138e76e85e663498d2ee9776b3c (diff) |
Linux viewer (ReleaseOS) resurrection (#1099)
Co-authored-by: AiraYumi <aira.youme@airanyumi.net>
Diffstat (limited to 'indra/newview/llfilepicker.h')
-rw-r--r-- | indra/newview/llfilepicker.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/indra/newview/llfilepicker.h b/indra/newview/llfilepicker.h index 38daff9937..5686627776 100644 --- a/indra/newview/llfilepicker.h +++ b/indra/newview/llfilepicker.h @@ -33,6 +33,12 @@ #ifndef LL_LLFILEPICKER_H #define LL_LLFILEPICKER_H +#if LL_FLTK + #if LL_GTK + #undef LL_GTK + #endif +#endif + #include "stdtypes.h" #if LL_DARWIN @@ -58,6 +64,7 @@ extern "C" { // mostly for Linux, possible on others #if LL_GTK # include "gtk/gtk.h" +#error "Direct use of GTK is deprecated" #endif // LL_GTK } @@ -192,6 +199,13 @@ private: // we also remember the extension of the last added file. std::string mCurrentExtension; #endif +#if LL_FLTK + enum EType + { + eSaveFile, eOpenFile, eOpenMultiple + }; + bool openFileDialog( int32_t filter, bool blocking, EType aType ); +#endif std::vector<std::string> mFiles; S32 mCurrentFile; |