summaryrefslogtreecommitdiffstats
path: root/examples/applicationmanager/startup-plugin/startup-plugin.cpp
blob: 0a33cc629378615149cade2ca43caa0f5844417f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
// Copyright (C) 2021 The Qt Company Ltd.
// Copyright (C) 2019 Luxoft Sweden AB
// Copyright (C) 2018 Pelagicore AG
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause

#include "startup-plugin.h"

Q_LOGGING_CATEGORY(LogMe, "am.start")

TestStartupInterface::TestStartupInterface()
{
    qCWarning(LogMe) << "Startup plugin was built against QT_AM_VERSION =" << QT_AM_VERSION_STR;
}

void TestStartupInterface::initialize(const QVariantMap &systemProperties) noexcept(false)
{
    qCWarning(LogMe) << "Startup initialize - systemProperties:" << systemProperties;
}

void TestStartupInterface::afterRuntimeRegistration() noexcept(false)
{
    qCWarning(LogMe) << "Startup afterRuntimeRegistration";
}

void TestStartupInterface::beforeQmlEngineLoad(QQmlEngine *engine) noexcept(false)
{
    qCWarning(LogMe) << "Startup beforeQmlEngineLoad - engine:" << engine;
}

void TestStartupInterface::afterQmlEngineLoad(QQmlEngine *engine) noexcept(false)
{
    qCWarning(LogMe) << "Startup afterQmlEngineLoad - engine:" << engine;
}

void TestStartupInterface::beforeWindowShow(QWindow *window) noexcept(false)
{
    qCWarning(LogMe) << "Startup beforeWindowShow - window:" << window;
}

void TestStartupInterface::afterWindowShow(QWindow *window) noexcept(false)
{
    qCWarning(LogMe) << "Startup afterWindowShow - window:" << window;
}