LanguageClient: Hide plugin class definition in cpp

As part of that, move test object creation closer to tested code.

Change-Id: I60f1e431fbdd4ebc2a01ab6ed0c779c288c81b06
Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
hjk
2024-01-15 12:01:25 +01:00
parent f44112ed22
commit d9108d1ae2
6 changed files with 55 additions and 54 deletions

View File

@@ -11,4 +11,8 @@ namespace LanguageClient {
LANGUAGECLIENT_EXPORT TextEditor::SnippetParseResult parseSnippet(const QString &snippet);
#ifdef WITH_TESTS
QObject *createSnippetParsingTest();
#endif
} // namespace LanguageClient