qmlfrontend/main.cpp
changeset 14276 1aac8a62be6f
parent 14159 8354b390f1a2
child 14299 21be7838a127
--- a/qmlfrontend/main.cpp	Thu Nov 22 00:49:55 2018 +0300
+++ b/qmlfrontend/main.cpp	Thu Nov 22 10:58:55 2018 +0100
@@ -11,6 +11,8 @@
 start_engine_t* start_engine;
 generate_preview_t* generate_preview;
 cleanup_t* cleanup;
+send_ipc_t* send_ipc;
+read_ipc_t* read_ipc;
 };  // namespace Engine
 
 void loadEngineLibrary() {
@@ -32,6 +34,11 @@
   Engine::cleanup =
       reinterpret_cast<Engine::cleanup_t*>(hwlib.resolve("cleanup"));
 
+  Engine::send_ipc =
+      reinterpret_cast<Engine::send_ipc_t*>(hwlib.resolve("send_ipc"));
+  Engine::read_ipc =
+      reinterpret_cast<Engine::read_ipc_t*>(hwlib.resolve("read_ipc"));
+
   if (Engine::protocol_version)
     qDebug() << "Loaded engine library with protocol version"
              << Engine::protocol_version();