mirror of
https://github.com/sal063/AC6_recomp
synced 2026-05-24 07:11:16 -04:00
28 lines
613 B
C++
28 lines
613 B
C++
// Native runtime - System utilities
|
|
// Part of the AC6 Recompilation native foundation
|
|
|
|
#pragma once
|
|
|
|
#include <filesystem>
|
|
#include <string_view>
|
|
|
|
#include <native/platform.h>
|
|
#include <native/string.h>
|
|
|
|
namespace rex {
|
|
|
|
// The URL must include the protocol.
|
|
void LaunchWebBrowser(const std::string_view url);
|
|
void LaunchFileExplorer(const std::filesystem::path& path);
|
|
|
|
enum class SimpleMessageBoxType {
|
|
Help,
|
|
Warning,
|
|
Error,
|
|
};
|
|
|
|
// This is expected to block the caller until the message box is closed.
|
|
void ShowSimpleMessageBox(SimpleMessageBoxType type, std::string_view message);
|
|
|
|
} // namespace rex
|