add platform::get_executable_path (#638)

This commit is contained in:
MihailRis
2025-10-03 21:22:16 +03:00
committed by GitHub
parent ecd95967c4
commit b14bad5d24
5 changed files with 88 additions and 8 deletions
+6 -2
View File
@@ -5,13 +5,17 @@
namespace platform {
void configure_encoding();
/// @return environment locale in ISO format ll_CC
/// @brief Get Environment locale in ISO format ll_CC
std::string detect_locale();
/// @brief Open folder using system file manager asynchronously
/// @param folder target folder
void open_folder(const std::filesystem::path& folder);
/// Makes the current thread sleep for the specified amount of milliseconds.
/// @brief Makes the current thread sleep for the specified amount of milliseconds.
void sleep(size_t millis);
/// @brief Get current process id
int get_process_id();
/// @brief Get current process running executable path
std::filesystem::path get_executable_path();
/// @brief Open URL in web browser
bool open_url(const std::string& url);
}