File indexing completed on 2024-05-05 04:39:28

0001 /*
0002     SPDX-FileCopyrightText: 2018, 2020 Friedrich W. H. Kossebau <kossebau@kde.org>
0003 
0004     SPDX-License-Identifier: GPL-2.0-or-later
0005 */
0006 
0007 #ifndef COMPILEANALYZER_COMPILEANALYZEUTILS_H
0008 #define COMPILEANALYZER_COMPILEANALYZEUTILS_H
0009 
0010 // lib
0011 #include <compileanalyzercommonexport.h>
0012 
0013 class QUrl;
0014 class QString;
0015 class QStringList;
0016 
0017 namespace KDevelop
0018 {
0019 class Path;
0020 
0021 namespace Utils
0022 {
0023 
0024 KDEVCOMPILEANALYZERCOMMON_EXPORT
0025 QString findExecutable(const QString& fallbackExecutablePath);
0026 
0027 KDEVCOMPILEANALYZERCOMMON_EXPORT
0028 QStringList filesFromCompilationDatabase(const KDevelop::Path& buildPath,
0029                                          const QUrl& urlToCheck, bool allFiles,
0030                                          QString& error);
0031 
0032 }
0033 
0034 }
0035 
0036 #endif