#include <libhomescreen.hpp>
#include <qlibwindowmanager.h>
#include <mediaplayer.h>
+#include <radio.h>
#include <unistd.h>
});
context->setContextProperty("mediaplayer", new Mediaplayer(bindingAddress, context));
+ context->setContextProperty("radio", new Radio(bindingAddress, context));
context->setContextProperty(QStringLiteral("screenInfo"), &screenInfo);
- usleep(300000);
-
engine.load(QUrl(QStringLiteral("qrc:/MediaPlayer.qml")));
QObject *root = engine.rootObjects().first();
QQuickWindow *window = qobject_cast<QQuickWindow *>(root);