ui: Added icon to footer when ImHex has elevated permissions

This commit is contained in:
WerWolv
2021-12-13 22:58:23 +01:00
parent 9bf9788689
commit 51474b2eae
3 changed files with 35 additions and 2 deletions

View File

@@ -237,6 +237,8 @@ namespace hex {
return *value;
}
bool isProcessElevated();
namespace scope_guard {
#define SCOPE_GUARD ::hex::scope_guard::ScopeGuardOnExit() + [&]()