all repos — mgba @ cbf460a164a105f8b6dc17802b42860aa893d364

mGBA Game Boy Advance Emulator

include/mgba-util/gui/file-select.h (view raw)

 1/* Copyright (c) 2013-2015 Jeffrey Pfau
 2 *
 3 * This Source Code Form is subject to the terms of the Mozilla Public
 4 * License, v. 2.0. If a copy of the MPL was not distributed with this
 5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 6#ifndef GUI_FILE_CHOOSER_H
 7#define GUI_FILE_CHOOSER_H
 8
 9#include <mgba-util/common.h>
10
11CXX_GUARD_START
12
13#include <mgba-util/gui.h>
14
15struct VFile;
16
17bool GUISelectFile(struct GUIParams*, char* outPath, size_t outLen, bool (*filterName)(const char* name), bool (*filterContents)(struct VFile*));
18
19CXX_GUARD_END
20
21#endif