15 #include "uibasemod.h" 50 enum Type { Gen, Img, Txt, Html };
63 { selectedfilter_ = fltr; }
67 { currentdir_ = dir; }
72 { confirmoverwrite_ = yn; }
74 void setDefaultExtension(
const char*);
75 const char* getDefaultExtension()
const;
88 int processExternalFilenames(
const char* dir=0,
89 const char* filters=0);
91 static const char* getExternalFilenamesErrMsg();
114 void setDefaultCaption();
115 int beginCmdRecEvent(
const char* wintitle );
116 void endCmdRecEvent(
int refnr,
bool ok);
#define mExpClass(module)
Definition: commondefs.h:160
BufferString defaultextension_
Definition: uifiledlg.h:108
static BufferString extfilenameserrmsg_
Definition: uifiledlg.h:111
BufferString currentdir_
Definition: uifiledlg.h:104
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
BufferStringSet filenames_
Definition: uifiledlg.h:102
void setDirectory(const char *dir)
Definition: uifiledlg.h:66
static const uiString & emptyString()
Definition: uistring.h:109
Definition: uistring.h:89
BufferString filter_
Definition: uifiledlg.h:99
Definition: uiparent.h:26
Set of BufferString objects.
Definition: bufstringset.h:28
const char * fileName() const
Definition: uifiledlg.h:56
Type
Definition: uifiledlg.h:50
uiParent * parnt_
Definition: uifiledlg.h:101
Mode mode() const
Definition: uifiledlg.h:60
SeparString with backquotes as separators, use in most ascii files.
Definition: separstr.h:119
BufferString fn
Definition: uifiledlg.h:96
void setSelectedFilter(const char *fltr)
Definition: uifiledlg.h:62
BufferString fname_
Definition: uifiledlg.h:98
const char * selectedFilter() const
Definition: uifiledlg.h:64
bool forread_
Definition: uifiledlg.h:106
uiString caption_
Definition: uifiledlg.h:100
Definition: uifiledlg.h:31
Mode mode_
Definition: uifiledlg.h:97
bool confirmoverwrite_
Definition: uifiledlg.h:107
Dialog to get a file or directory name from user.
Definition: uifiledlg.h:25
void setConfirmOverwrite(bool yn)
Definition: uifiledlg.h:71
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size...
Definition: bufstring.h:40
static FileMultiString * externalfilenames_
Definition: uifiledlg.h:110
Definition: uifiledlg.h:32
bool addallexts_
Definition: uifiledlg.h:105
void setAllowAllExts(bool yn)
default true for read, false for write
Definition: uifiledlg.h:69
Mode
File selection mode.
Definition: uifiledlg.h:29
static const char * filesep_
Definition: uifiledlg.h:79
BufferString selectedfilter_
Definition: uifiledlg.h:103
void setMode(Mode m)
Definition: uifiledlg.h:59