d15bd4771d
Co-authored-by: WerWolv <werwolv98@gmail.com> Co-authored-by: AnnsAnn <git@annsann.eu>
25 lines
577 B
C++
25 lines
577 B
C++
#if defined(OS_WEB)
|
|
|
|
#include<stdexcept>
|
|
|
|
#include <hex/helpers/intrinsics.hpp>
|
|
#include <hex/helpers/logger.hpp>
|
|
|
|
#include "messaging.hpp"
|
|
|
|
namespace hex::messaging {
|
|
|
|
void sendToOtherInstance(const std::string &eventName, const std::vector<u8> &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
|