summaryrefslogtreecommitdiffstats
path: root/meta-agl-bsp/conf/include/agl_intel-corei7-64.inc
blob: cc181ddaa0f79f476b10133e98f7f5edcbd91c26 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# Enable Libvaapi for HW accelerated video support
#
IMAGE_INSTALL_append = " \
        libva \
        va-intel \
        gstreamer1.0-vaapi"

AGL_EXTRA_IMAGE_FSTYPES = "wic.xz wic.bmap wic.xz.sha256sum"
INITRD_LIVE = "${DEPLOY_DIR_IMAGE}/${INITRD_IMAGE_LIVE}-${MACHINE}.ext4.gz"

# Modify this file under meta-agl-bsp/meta-intel/wic to change the
# kernel command line, including to change the screen resolution.
WKS_FILE = "systemd-intel-corei7-64-bootdisk.wks"
n class="n">m_mloop, &MessageEngine::connected, this, &Weather::onConnected); QObject::connect(m_mloop, &MessageEngine::disconnected, this, &Weather::onDisconnected); QObject::connect(m_mloop, &MessageEngine::messageReceived, this, &Weather::onMessageReceived); } Weather::~Weather() { delete m_mloop; } void Weather::onConnected() { WeatherMessage *tmsg = new WeatherMessage(); tmsg->createRequest("subscribe", "weather"); m_mloop->sendMessage(tmsg); tmsg->deleteLater(); } void Weather::onDisconnected() { WeatherMessage *tmsg = new WeatherMessage(); tmsg->createRequest("unsubscribe", "weather"); m_mloop->sendMessage(tmsg); tmsg->deleteLater(); } void Weather::onMessageReceived(MessageType type, Message *message) { if (type == WeatherEventMessage) { WeatherMessage *tmsg = qobject_cast<WeatherMessage*>(message); if (tmsg->isEvent()) { m_temperature = tmsg->temperature(); m_condition = tmsg->condition(); emit temperatureChanged(m_temperature); emit conditionChanged(m_condition); } } message->deleteLater(); }