File indexing completed on 2024-05-05 04:39:26
0001 /* 0002 SPDX-FileCopyrightText: 2009 Aleix Pol Gonzalez <aleixpol@kde.org> 0003 0004 SPDX-License-Identifier: LGPL-2.0-or-later 0005 */ 0006 0007 #ifndef ICMAKEDOCUMENTATION_H 0008 #define ICMAKEDOCUMENTATION_H 0009 0010 #include <interfaces/idocumentationprovider.h> 0011 0012 class QUrl; 0013 0014 class ICMakeDocumentation : public KDevelop::IDocumentationProvider 0015 { 0016 public: 0017 enum Type { Command, Variable, Module, Property, Policy, EOType }; 0018 0019 ~ICMakeDocumentation() override = default; 0020 virtual KDevelop::IDocumentation::Ptr description(const QString& identifier, const QUrl &file) const=0; 0021 virtual QVector<QString> names(Type t) const=0; 0022 }; 0023 0024 Q_DECLARE_INTERFACE( ICMakeDocumentation, "org.kdevelop.ICMakeDocumentation" ) 0025 0026 #endif