forked from qt-creator/qt-creator
As part of that, move test object creation closer to tested code. Change-Id: I60f1e431fbdd4ebc2a01ab6ed0c779c288c81b06 Reviewed-by: David Schulz <david.schulz@qt.io>
19 lines
449 B
C++
19 lines
449 B
C++
// Copyright (C) 2021 The Qt Company Ltd.
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
|
|
|
#pragma once
|
|
|
|
#include "languageclient_global.h"
|
|
|
|
#include <texteditor/snippets/snippetparser.h>
|
|
|
|
namespace LanguageClient {
|
|
|
|
LANGUAGECLIENT_EXPORT TextEditor::SnippetParseResult parseSnippet(const QString &snippet);
|
|
|
|
#ifdef WITH_TESTS
|
|
QObject *createSnippetParsingTest();
|
|
#endif
|
|
|
|
} // namespace LanguageClient
|