mac: Implement the filters option.
This commit is contained in:
parent
dc257f1f86
commit
0721b34847
3 changed files with 47 additions and 11 deletions
|
@ -23,10 +23,10 @@ typedef std::pair<std::string, std::vector<std::string> > Filter;
|
|||
typedef std::vector<Filter> Filters;
|
||||
|
||||
enum FileDialogProperty {
|
||||
FILE_DIALOG_OPEN_FILE = 1,
|
||||
FILE_DIALOG_OPEN_DIRECTORY = 2,
|
||||
FILE_DIALOG_MULTI_SELECTIONS = 4,
|
||||
FILE_DIALOG_CREATE_DIRECTORY = 8,
|
||||
FILE_DIALOG_OPEN_FILE = 1 << 0,
|
||||
FILE_DIALOG_OPEN_DIRECTORY = 1 << 1,
|
||||
FILE_DIALOG_MULTI_SELECTIONS = 1 << 2,
|
||||
FILE_DIALOG_CREATE_DIRECTORY = 1 << 3,
|
||||
};
|
||||
|
||||
typedef base::Callback<void(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue