mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 02:51:49 +00:00
15 lines
487 B
C++
15 lines
487 B
C++
#pragma once
|
|
|
|
#include <string>
|
|
#include <filesystem>
|
|
|
|
namespace platform {
|
|
void configure_encoding();
|
|
/// @return 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.
|
|
void sleep(size_t millis);
|
|
}
|