1
0
mirror of synced 2025-01-31 20:05:22 +01:00

17 lines
361 B
C++

#include <hex/helpers/logger.hpp>
#include <popups/popup_notification.hpp>
namespace hex::plugin::builtin {
void showError(const std::string& message){
ui::PopupError::open(message);
log::error(message);
}
void showWarning(const std::string& message){
ui::PopupWarning::open(message);
log::warn(message);
}
}