summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/bgfx/examples/common/entry/dialog.h
blob: 8c13d2be636fc34b0a5482e02b4cb03128374012 (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-2022 Branimir Karadzic. All rights reserved.
 * License: https://github.com/bkaradzic/bgfx/blob/master/LICENSE
 */

#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
ual fixup (nw) Vas Crabb2018-08-261-4/+4 * -ram_device: MCFG removal, nw mooglyguy2018-08-161-2/+1 * (nw) xor100 : notes Robbbert2018-08-021-1/+1 * (nw) super6 : notes, cleanup Robbbert2018-07-281-52/+47 * devcb3 Vas Crabb2018-07-071-14/+14 * super6.cpp: Wrong tag specified, oops (nw) AJR2018-06-221-1/+1 * com8116: Standardize nibble-packed write handlers; disable FX4 timer if not n... AJR2018-06-221-27/+1 * as if millions of this pointers suddenly cried out in terror, and were sudden... Vas Crabb2018-06-081-10/+10 * Move the +1 to the proper place in the ROM BIOS macros - that's been Vas Crabb2018-05-291-2/+2 * wd_fdc family, msm5832: Eliminate customized MCFG_XXX_ADD macros (nw) AJR2018-05-271-8/+8 * Removed DRIVER_INIT-related macros, made driver init entry in GAME/COMP/CONS ... MooglyGuy2018-05-131-2/+2 * Streamline machine configuration macros - everyone's a device edition. Vas Crabb2018-05-061-24/+24 * Make MCFG_DEVICE_ADD and callable device types more flexible: Vas Crabb2018-05-041-4/+5 * Address maps macros removal, pass 1 [O. Galibert] Olivier Galibert2018-03-141-15/+17 * API change: Memory maps are now methods of the owner class [O. Galibert] Olivier Galibert2018-02-121-2/+2 * xtal.h is dead, long live to xtal.cpp [O. Galibert] Olivier Galibert2018-01-231-7/+7 * API Change: Machine configs are now a method of the owner class, and the prot... Olivier Galibert2018-01-171-1/+1 * S-100 drivers tagged for future reference (nw) AJR2017-10-311-0/+1 * (nw) more cleanups Robbbert2017-10-071-14/+4 * Eliminate custom MCFG_Z80DART_ADD/Z80SIO_ADD macros (nw) AJR2017-09-241-1/+1 * Move static data out of devices into the device types. This is a significant... Vas Crabb2017-05-141-4/+4 * Remove emu.h from headers (nw) Olivier Galibert2017-02-111-0/+1 * NOTICE (TYPE NAME CONSOLIDATION) Miodrag Milanovic2016-10-221-2/+2 * Memory fun [O.Galibert] Olivier Galibert2016-06-141-2/+2 * Eliminate device_t::static_config, a type-unsafe legacy feature. AJR2016-04-141-1/+1 * z80: added crude implementation of WAIT pin hap2016-02-071-3/+3 * clang-modernize part 4 Miodrag Milanovic2015-12-041-4/+4