1
0
mirror of synced 2024-11-28 09:30:51 +01:00

patterns: Updated pattern language

This commit is contained in:
WerWolv 2023-08-26 23:31:25 +02:00
parent 886c52b322
commit 32e05cc62f
4 changed files with 4 additions and 2 deletions

@ -1 +1 @@
Subproject commit 7eb8d0f6ef8d8caed167200d677ab3ed7a555254 Subproject commit 9c1477f8e417552dabe3139f14227ba121137fda

View File

@ -3,4 +3,5 @@
namespace hex::crash { namespace hex::crash {
void setupCrashHandlers(); void setupCrashHandlers();
} }

View File

@ -32,4 +32,5 @@ namespace hex::messaging {
* @brief Internal method - called by platform-specific code when a event has been received * @brief Internal method - called by platform-specific code when a event has been received
*/ */
void messageReceived(const std::string &eventName, const std::vector<u8> &args); void messageReceived(const std::string &eventName, const std::vector<u8> &args);
} }

View File

@ -43,7 +43,7 @@ namespace hex::crash {
static void saveCrashFile(const std::string& message) { static void saveCrashFile(const std::string& message) {
log::fatal(message); log::fatal(message);
nlohmann::json crashData{ nlohmann::json crashData {
{ "logFile", wolv::util::toUTF8String(hex::log::impl::getFile().getPath()) }, { "logFile", wolv::util::toUTF8String(hex::log::impl::getFile().getPath()) },
{ "project", wolv::util::toUTF8String(ProjectFile::getPath()) }, { "project", wolv::util::toUTF8String(ProjectFile::getPath()) },
}; };