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 "qqmlnativedebugservice.h" |
5 | #include "qqmlnativedebugservicefactory.h" |
6 | #include <private/qqmldebugserviceinterfaces_p.h> |
7 | |
8 | QT_BEGIN_NAMESPACE |
9 | |
10 | QQmlDebugService *QQmlNativeDebugServiceFactory::create(const QString &key) |
11 | { |
12 | if (key == QQmlNativeDebugServiceImpl::s_key) |
13 | return new QQmlNativeDebugServiceImpl(this); |
14 | |
15 | return nullptr; |
16 | } |
17 | |
18 | QT_END_NAMESPACE |
19 | |
20 | #include "moc_qqmlnativedebugservicefactory.cpp" |
21 |