1
0
mirror of synced 2024-12-02 11:17:19 +01:00
ImHex/main/gui/source/messaging/linux.cpp
2023-11-10 20:47:08 +01:00

25 lines
580 B
C++

#if defined(OS_LINUX)
#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