1 | // Copyright (C) 2016 The Qt Company Ltd. |
---|---|
2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only |
3 | |
4 | #include "qdebugmessageservicefactory.h" |
5 | #include "qdebugmessageservice.h" |
6 | #include <private/qqmldebugserviceinterfaces_p.h> |
7 | |
8 | QT_BEGIN_NAMESPACE |
9 | |
10 | QQmlDebugService *QDebugMessageServiceFactory::create(const QString &key) |
11 | { |
12 | if (key == QDebugMessageServiceImpl::s_key) |
13 | return new QDebugMessageServiceImpl(this); |
14 | |
15 | return nullptr; |
16 | } |
17 | |
18 | QT_END_NAMESPACE |
19 | |
20 | #include "moc_qdebugmessageservicefactory.cpp" |
21 |