1
0
mirror of synced 2024-12-13 16:31:07 +01:00
ImHex/plugins/builtin/include/content/helpers/notification.hpp
iTrooz b7d8e46288
feat: Display detailed error message when loading of project fails (#1135)
In order to do this I add to make some other additions :
- Add a warning popup (TODO, maybe add some icons to differentiate
error/warning popups in a future PR ?)
- create showError() and showWarning() functions, as helpers to show a
message both to the logs and as a popup
2023-06-21 20:07:36 +02:00

11 lines
199 B
C++

#pragma once
#include <content/popups/popup_notification.hpp>
namespace hex::plugin::builtin {
void showError(const std::string& message);
void showWarning(const std::string& message);
}