2015-08-06 22:29:46 +00:00
|
|
|
/* Copyright (c) 2013-2015 Jeffrey Pfau
|
|
|
|
*
|
|
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
#ifndef GUI_FILE_CHOOSER_H
|
|
|
|
#define GUI_FILE_CHOOSER_H
|
|
|
|
|
2016-12-31 01:00:22 +00:00
|
|
|
#include <mgba-util/common.h>
|
2016-12-27 05:01:55 +00:00
|
|
|
|
|
|
|
CXX_GUARD_START
|
|
|
|
|
2016-12-31 01:00:22 +00:00
|
|
|
#include <mgba-util/gui.h>
|
2015-08-06 22:29:46 +00:00
|
|
|
|
2015-08-26 05:42:19 +00:00
|
|
|
struct VFile;
|
|
|
|
|
2019-06-07 19:26:40 +00:00
|
|
|
bool GUISelectFile(struct GUIParams*, char* outPath, size_t outLen, bool (*filterName)(const char* name), bool (*filterContents)(struct VFile*), const char* preselect);
|
2015-08-06 22:29:46 +00:00
|
|
|
|
2016-12-27 05:01:55 +00:00
|
|
|
CXX_GUARD_END
|
|
|
|
|
2015-08-06 22:29:46 +00:00
|
|
|
#endif
|