qmlFrontend/hwengine.cpp
branchqmlfrontend
changeset 11842 93e6c401cc3d
parent 11827 8c71c5a1172f
child 12855 1b2b84315d27
--- a/qmlFrontend/hwengine.cpp	Fri Jul 15 22:39:07 2016 +0300
+++ b/qmlFrontend/hwengine.cpp	Tue Aug 02 23:08:17 2016 +0300
@@ -36,6 +36,7 @@
 
     connectOfficialServer_t * flibConnectOfficialServer;
     passNetData_t * flibPassNetData;
+    passToNet_t * flibPassToNet;
     passFlibEvent_t * flibPassFlibEvent;
     sendChatLine_t * flibSendChatLine;
     joinRoom_t * flibJoinRoom;
@@ -90,6 +91,7 @@
 
     flibConnectOfficialServer = (connectOfficialServer_t*) hwlib.resolve("connectOfficialServer");
     flibPassNetData = (passNetData_t*) hwlib.resolve("passNetData");
+    flibPassToNet = (passToNet_t*) hwlib.resolve("passToNet");
     flibPassFlibEvent = (passFlibEvent_t*) hwlib.resolve("passFlibEvent");
     flibSendChatLine = (sendChatLine_t*) hwlib.resolve("sendChatLine");
     flibJoinRoom = (joinRoom_t*) hwlib.resolve("joinRoom");
@@ -201,6 +203,10 @@
         flibPassNetData(msg.constData());
         break;
     }
+    case MSG_TONET: {
+        flibPassToNet(msg.constData(), msg.size());
+        break;
+    }
     case MSG_FLIBEVENT: {
         flibPassFlibEvent(msg.constData());
         break;