summaryrefslogtreecommitdiff
path: root/indra/newview/llfilepicker.h
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llfilepicker.h')
-rw-r--r--indra/newview/llfilepicker.h14
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;