add platform::new_engine_instance

This commit is contained in:
MihailRis
2025-10-03 22:02:56 +03:00
parent b14bad5d24
commit 5a5bd5cb2e
2 changed files with 70 additions and 0 deletions
+3
View File
@@ -1,6 +1,7 @@
#pragma once
#include <string>
#include <vector>
#include <filesystem>
namespace platform {
@@ -16,6 +17,8 @@ namespace platform {
int get_process_id();
/// @brief Get current process running executable path
std::filesystem::path get_executable_path();
/// @brief Run a separate engine instance with specified arguments
void new_engine_instance(const std::vector<std::string>& args);
/// @brief Open URL in web browser
bool open_url(const std::string& url);
}