yaze 0.2.0
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
file_dialog.h
Go to the documentation of this file.
1#ifndef YAZE_APP_CORE_PLATFORM_FILE_DIALOG_H
2#define YAZE_APP_CORE_PLATFORM_FILE_DIALOG_H
3
4#include <string>
5#include <vector>
6
7namespace yaze {
8namespace app {
9namespace core {
10
12 public:
17 static std::string ShowOpenFileDialog();
18
23 static std::string ShowOpenFolderDialog();
24 static std::vector<std::string> GetSubdirectoriesInFolder(
25 const std::string& folder_path);
26 static std::vector<std::string> GetFilesInFolder(
27 const std::string& folder_path);
28};
29
30} // namespace core
31} // namespace app
32} // namespace yaze
33
34#endif // YAZE_APP_CORE_PLATFORM_FILE_DIALOG_H
static std::vector< std::string > GetSubdirectoriesInFolder(const std::string &folder_path)
static std::string ShowOpenFileDialog()
ShowOpenFileDialog opens a file dialog and returns the selected filepath.
static std::string ShowOpenFolderDialog()
ShowOpenFolderDialog opens a file dialog and returns the selected folder path.
static std::vector< std::string > GetFilesInFolder(const std::string &folder_path)
Definition common.cc:22