File indexing completed on 2024-05-12 04:37:41

0001 /*
0002     SPDX-FileCopyrightText: 2014 Kevin Funk <kfunk@kde.org>
0003 
0004     SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
0005 */
0006 
0007 #include "staticassistant.h"
0008 
0009 #include <KTextEditor/Range>
0010 
0011 using namespace KDevelop;
0012 
0013 class KDevelop::StaticAssistantPrivate
0014 {
0015 public:
0016     ILanguageSupport* m_supportedLanguage;
0017 };
0018 
0019 StaticAssistant::StaticAssistant(ILanguageSupport* supportedLanguage)
0020     : d_ptr(new StaticAssistantPrivate)
0021 {
0022     Q_D(StaticAssistant);
0023 
0024     d->m_supportedLanguage = supportedLanguage;
0025 }
0026 
0027 StaticAssistant::~StaticAssistant()
0028 {
0029 }
0030 
0031 ILanguageSupport* StaticAssistant::supportedLanguage() const
0032 {
0033     Q_D(const StaticAssistant);
0034 
0035     return d->m_supportedLanguage;
0036 }
0037 
0038 #include "moc_staticassistant.cpp"