mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-30 05:05:19 -05:00
@@ -5,6 +5,18 @@
|
||||
|
||||
namespace hex {
|
||||
|
||||
void ImHexApi::Common::closeImHex(bool noQuestions) {
|
||||
EventManager::post<RequestCloseImHex>(noQuestions);
|
||||
}
|
||||
|
||||
void ImHexApi::Common::restartImHex() {
|
||||
EventManager::post<RequestCloseImHex>(false);
|
||||
std::atexit([]{
|
||||
execve(SharedData::mainArgv[0], SharedData::mainArgv, nullptr);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
void ImHexApi::Bookmarks::add(Region region, std::string_view name, std::string_view comment, u32 color) {
|
||||
Entry entry;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user