add platform::new_engine_instance
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user