qmlfrontend/hwengine.cpp
branchqmlfrontend
changeset 12881 07a267d72fce
parent 12876 b544bbbd0696
child 12882 bf58f2403953
equal deleted inserted replaced
12880:590c7f324292 12881:07a267d72fce
    45     flibIpcRemoveBarrierFromEngineQueue = (ipcRemoveBarrierFromEngineQueue_t*)hwlib.resolve("ipcRemoveBarrierFromEngineQueue");
    45     flibIpcRemoveBarrierFromEngineQueue = (ipcRemoveBarrierFromEngineQueue_t*)hwlib.resolve("ipcRemoveBarrierFromEngineQueue");
    46     flibRegisterUIMessagesCallback = (registerUIMessagesCallback_t*)hwlib.resolve("registerUIMessagesCallback");
    46     flibRegisterUIMessagesCallback = (registerUIMessagesCallback_t*)hwlib.resolve("registerUIMessagesCallback");
    47     flibInit = (flibInit_t*)hwlib.resolve("flibInit");
    47     flibInit = (flibInit_t*)hwlib.resolve("flibInit");
    48     flibFree = (flibFree_t*)hwlib.resolve("flibFree");
    48     flibFree = (flibFree_t*)hwlib.resolve("flibFree");
    49 
    49 
    50     flibInit("/usr/home/unC0Rr/Sources/Hedgewars/MainRepo/share/hedgewars/Data", "/usr/home/unC0Rr/.hedgewars");
    50     flibInit("/home/r/data/hwrepos/.hg-qml_installed/hedgewars/share/hedgewars/Data", "/home/r/.hedgewars");
       
    51     //flibInit("/usr/home/unC0Rr/Sources/Hedgewars/MainRepo/share/hedgewars/Data", "/usr/home/unC0Rr/.hedgewars");
    51     flibRegisterUIMessagesCallback(this, &guiMessagesCallback);
    52     flibRegisterUIMessagesCallback(this, &guiMessagesCallback);
    52 
    53 
    53     m_engine->addImageProvider(QLatin1String("preview"), m_previewProvider);
    54     m_engine->addImageProvider(QLatin1String("preview"), m_previewProvider);
    54 
    55 
    55     connect(m_runQueue, &RunQueue::previewIsRendering, this, &HWEngine::previewIsRendering);
    56     connect(m_runQueue, &RunQueue::previewIsRendering, this, &HWEngine::previewIsRendering);