14 lines
291 B
C++
14 lines
291 B
C++
#pragma once
|
|
|
|
#include <windows.h>
|
|
#include <stdlib.h>
|
|
#include <functional>
|
|
|
|
namespace launcher {
|
|
extern std::function<void()> on_shutdown;
|
|
void stop_subsystems();
|
|
void kill(UINT exit_code = EXIT_FAILURE);
|
|
void shutdown(UINT exit_code = EXIT_SUCCESS);
|
|
void restart();
|
|
}
|