yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::util::FileDialogWrapper Class Reference

#include <file_util.h>

Static Public Member Functions

static std::string ShowOpenFileDialog ()
 ShowOpenFileDialog opens a file dialog and returns the selected filepath. Uses global feature flag to choose implementation.
 
static std::string ShowOpenFolderDialog ()
 ShowOpenFolderDialog opens a file dialog and returns the selected folder path. Uses global feature flag to choose implementation.
 
static std::string ShowSaveFileDialog (const std::string &default_name="", const std::string &default_extension="")
 ShowSaveFileDialog opens a save file dialog and returns the selected filepath. Uses global feature flag to choose implementation.
 
static std::string ShowOpenFileDialogNFD ()
 
static std::string ShowOpenFileDialogBespoke ()
 
static std::string ShowSaveFileDialogNFD (const std::string &default_name="", const std::string &default_extension="")
 
static std::string ShowSaveFileDialogBespoke (const std::string &default_name="", const std::string &default_extension="")
 
static std::string ShowOpenFolderDialogNFD ()
 
static std::string ShowOpenFolderDialogBespoke ()
 
static std::vector< std::string > GetSubdirectoriesInFolder (const std::string &folder_path)
 
static std::vector< std::string > GetFilesInFolder (const std::string &folder_path)
 

Detailed Description

Definition at line 10 of file file_util.h.

Member Function Documentation

◆ ShowOpenFileDialog()

◆ ShowOpenFolderDialog()

std::string yaze::util::FileDialogWrapper::ShowOpenFolderDialog ( )
static

ShowOpenFolderDialog opens a file dialog and returns the selected folder path. Uses global feature flag to choose implementation.

Definition at line 26 of file file_dialog_nfd.cc.

Referenced by yaze::editor::EditorManager::CreateNewProject(), yaze::editor::EditorManager::DrawMenuBar(), yaze::editor::AssemblyEditor::DrawToolset(), ShowOpenFolderDialogBespoke(), ShowOpenFolderDialogNFD(), and yaze::editor::AssemblyEditor::UpdateCodeView().

◆ ShowSaveFileDialog()

std::string yaze::util::FileDialogWrapper::ShowSaveFileDialog ( const std::string &  default_name = "",
const std::string &  default_extension = "" 
)
static

◆ ShowOpenFileDialogNFD()

std::string yaze::util::FileDialogWrapper::ShowOpenFileDialogNFD ( )
static

Definition at line 95 of file file_dialog_nfd.cc.

References ShowOpenFileDialog().

Referenced by yaze::test::TestManager::DrawTestDashboard().

Here is the call graph for this function:

◆ ShowOpenFileDialogBespoke()

std::string yaze::util::FileDialogWrapper::ShowOpenFileDialogBespoke ( )
static

Definition at line 99 of file file_dialog_nfd.cc.

References ShowOpenFileDialog().

Referenced by yaze::test::TestManager::DrawTestDashboard().

Here is the call graph for this function:

◆ ShowSaveFileDialogNFD()

std::string yaze::util::FileDialogWrapper::ShowSaveFileDialogNFD ( const std::string &  default_name = "",
const std::string &  default_extension = "" 
)
static

Definition at line 103 of file file_dialog_nfd.cc.

References ShowSaveFileDialog().

Here is the call graph for this function:

◆ ShowSaveFileDialogBespoke()

std::string yaze::util::FileDialogWrapper::ShowSaveFileDialogBespoke ( const std::string &  default_name = "",
const std::string &  default_extension = "" 
)
static

Definition at line 108 of file file_dialog_nfd.cc.

References ShowSaveFileDialog().

Here is the call graph for this function:

◆ ShowOpenFolderDialogNFD()

std::string yaze::util::FileDialogWrapper::ShowOpenFolderDialogNFD ( )
static

Definition at line 113 of file file_dialog_nfd.cc.

References ShowOpenFolderDialog().

Here is the call graph for this function:

◆ ShowOpenFolderDialogBespoke()

std::string yaze::util::FileDialogWrapper::ShowOpenFolderDialogBespoke ( )
static

Definition at line 117 of file file_dialog_nfd.cc.

References ShowOpenFolderDialog().

Here is the call graph for this function:

◆ GetSubdirectoriesInFolder()

std::vector< std::string > yaze::util::FileDialogWrapper::GetSubdirectoriesInFolder ( const std::string &  folder_path)
static

◆ GetFilesInFolder()

std::vector< std::string > yaze::util::FileDialogWrapper::GetFilesInFolder ( const std::string &  folder_path)
static

The documentation for this class was generated from the following files: