summaryrefslogtreecommitdiffstats
path: root/src/qtattributionsscanner/scanner.h
diff options
context:
space:
mode:
authorKai Koehne <kai.koehne@qt.io>2017-08-04 08:54:31 +0200
committerKai Koehne <kai.koehne@qt.io>2017-08-28 11:37:15 +0000
commite5de0f5b308fb4f5357633279816f211c799e8bb (patch)
treef26ec84d5531e07c21ceac4a7c0867d92b08760b /src/qtattributionsscanner/scanner.h
parent78722f6c6c89de6b0c49d9d6ce49db8506104aaf (diff)
qtattributionsscanner: Allow to use it for one single file
This allows a saner use with qbs, where we can and should actually handle the dependencies correctly. In addition, this patch adds an optional '--basedir' argument that is needed to correctly root relative paths that are printed in the documentation. Change-Id: I0abf769ad5c0a3ac15b6907f83b77d369eb78d1f GPush-Base: 5c8d5742dc7b5e00a6aed447e8f288680b58e225 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src/qtattributionsscanner/scanner.h')
-rw-r--r--src/qtattributionsscanner/scanner.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qtattributionsscanner/scanner.h b/src/qtattributionsscanner/scanner.h
index 5d93cb8ee..f3ae9f0ea 100644
--- a/src/qtattributionsscanner/scanner.h
+++ b/src/qtattributionsscanner/scanner.h
@@ -37,6 +37,7 @@
namespace Scanner {
+QVector<Package> readFile(const QString &filePath, LogLevel logLevel);
QVector<Package> scanDirectory(const QString &directory, LogLevel logLevel);
}