2023-07-13 14:08:23 +02:00
|
|
|
#if defined(OS_LINUX)
|
|
|
|
|
2023-11-10 20:47:08 +01:00
|
|
|
#include <stdexcept>
|
2023-07-13 14:08:23 +02:00
|
|
|
|
|
|
|
#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);
|
2023-09-27 14:14:27 +02:00
|
|
|
log::error("Unimplemented function 'sendToOtherInstance()' called");
|
2023-07-13 14:08:23 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
// Not implemented, so lets say we are the main instance every time so events are forwarded to ourselves
|
|
|
|
bool setupNative() {
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|