MeshLib C++ Docs
Loading...
Searching...
No Matches
MR::FileDialog Namespace Reference

Classes

struct  Parameters
 

Functions

MRVIEWER_API std::string getLastUsedDir ()
 
MRVIEWER_API void setLastUsedDir (const std::string &folder)
 saves in the configuration the path (UTF8 encoded) to last used folder (where the files were last saved or open)
 

Function Documentation

◆ getLastUsedDir()

MRVIEWER_API std::string MR::FileDialog::getLastUsedDir ( )

loads from the configuration the path (UTF8 encoded) to last used folder (where the files were last saved or open); returns empty path if no last used folder is set

◆ setLastUsedDir()

MRVIEWER_API void MR::FileDialog::setLastUsedDir ( const std::string & folder)

saves in the configuration the path (UTF8 encoded) to last used folder (where the files were last saved or open)