15#ifndef MR_PARSING_FOR_ANY_BINDINGS
17 MRMESH_API static const Expected<std::filesystem::path> & getExecutablePath();
20 MRMESH_API static const Expected<std::filesystem::path> & getLibraryPath();
24 MRMESH_API static Expected<std::filesystem::path> getLibraryPathForSymbol(
const void* symbol );
27 MRMESH_API static Expected<std::filesystem::path> getExecutableDirectory();
30 MRMESH_API static Expected<std::filesystem::path> getLibraryDirectory();
48 enum class SystemFontType
57 using SystemFontPaths = std::array<std::filesystem::path, size_t( SystemFontType::Count )>;
60 MRMESH_API static std::filesystem::path getDirectory( Directory dir );
62 MRMESH_API static void overrideDirectory( Directory dir,
const std::filesystem::path& path );
65 static std::filesystem::path getResourcesDirectory() {
return getDirectory( Directory::Resources ); }
67 static std::filesystem::path getFontsDirectory() {
return getDirectory( Directory::Fonts ); }
69 static std::filesystem::path getPluginsDirectory() {
return getDirectory( Directory::Plugins ); }
71 static std::filesystem::path getPythonModulesDirectory() {
return getDirectory( Directory::PythonModules ); }
73 MRMESH_API static const std::vector<SystemFontPaths>& getSystemFonts();
#define MRMESH_API
Definition MRMeshFwd.h:80
Definition MRCameraOrientationPlugin.h:8