MeshLib
 
Loading...
Searching...
No Matches
MRFileDialog.h File Reference
#include "exports.h"
#include "MRMesh/MRIOFilters.h"
#include <filesystem>
#include <functional>

Go to the source code of this file.

Classes

struct  MR::FileParameters
 

Namespaces

namespace  MR
 

Functions

MRVIEWER_API std::filesystem::path MR::openFileDialog (const FileParameters &params={})
 
MRVIEWER_API void MR::openFileDialogAsync (std::function< void(const std::filesystem::path &)> callback, const FileParameters &params={})
 
MRVIEWER_API std::vector< std::filesystem::path > MR::openFilesDialog (const FileParameters &params={})
 
MRVIEWER_API void MR::openFilesDialogAsync (std::function< void(const std::vector< std::filesystem::path > &)> callback, const FileParameters &params={})
 
MRVIEWER_API std::filesystem::path MR::openFolderDialog (std::filesystem::path baseFolder={})
 
MRVIEWER_API void MR::openFolderDialogAsync (std::function< void(const std::filesystem::path &)> callback, std::filesystem::path baseFolder={})
 
MRVIEWER_API std::vector< std::filesystem::path > MR::openFoldersDialog (std::filesystem::path baseFolder={})
 
MRVIEWER_API std::filesystem::path MR::saveFileDialog (const FileParameters &params={})
 
MRVIEWER_API void MR::saveFileDialogAsync (std::function< void(const std::filesystem::path &)> callback, const FileParameters &params={})