blob: f639a7c04927cac1ece8bd7c3ba3f406a1321b1a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
/*
* Copyright 2010-2021 Branimir Karadzic. All rights reserved.
* License: https://github.com/bkaradzic/bgfx#license-bsd-2-clause
*/
#ifndef DIALOG_H_HEADER_GUARD
#define DIALOG_H_HEADER_GUARD
namespace bx { class FilePath; class StringView; }
struct FileSelectionDialogType
{
enum Enum
{
Open,
Save,
Count
};
};
///
bool openFileSelectionDialog(
bx::FilePath& _inOutFilePath
, FileSelectionDialogType::Enum _type
, const bx::StringView& _title
, const bx::StringView& _filter = "All Files | *"
);
///
void openUrl(const bx::StringView& _url);
#endif // DIALOG_H_HEADER_GUARD
|