#if defined(OS_WEB) #include #include #include #include "messaging.hpp" namespace hex::messaging { void sendToOtherInstance(const std::string &eventName, const std::vector &args) { hex::unused(eventName); hex::unused(args); log::error("Unimplemented function 'sendToOtherInstance()' called"); } // Not implemented, so lets say we are the main instance every time so events are forwarded to ourselves bool setupNative() { return true; } } #endif