--- a/qmlFrontend/hwengine.cpp Fri Oct 31 00:36:08 2014 +0300
+++ b/qmlFrontend/hwengine.cpp Sat Nov 01 00:23:22 2014 +0300
@@ -15,6 +15,7 @@
getSeed_t *flibGetSeed;
getPreview_t *flibGetPreview;
runQuickGame_t *flibRunQuickGame;
+ runLocalGame_t *flibRunLocalGame;
flibInit_t *flibInit;
flibFree_t *flibFree;
getThemesList_t *flibGetThemesList;
@@ -44,6 +45,7 @@
flibGetSeed = (getSeed_t*) hwlib.resolve("getSeed");
flibGetPreview = (getPreview_t*) hwlib.resolve("getPreview");
flibRunQuickGame = (runQuickGame_t*) hwlib.resolve("runQuickGame");
+ flibRunLocalGame = (runLocalGame_t*) hwlib.resolve("runLocalGame");
flibInit = (flibInit_t*) hwlib.resolve("flibInit");
flibFree = (flibFree_t*) hwlib.resolve("flibFree");
@@ -81,6 +83,12 @@
flibRunQuickGame();
}
+void HWEngine::runLocalGame()
+{
+ flibRunLocalGame();
+}
+
+
static QObject *hwengine_singletontype_provider(QQmlEngine *engine, QJSEngine *scriptEngine)
{
Q_UNUSED(scriptEngine)