summaryrefslogtreecommitdiffstats
path: root/src/libs/installer/productkeycheck.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/installer/productkeycheck.h')
-rw-r--r--src/libs/installer/productkeycheck.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libs/installer/productkeycheck.h b/src/libs/installer/productkeycheck.h
index d472d9288..6d72089e2 100644
--- a/src/libs/installer/productkeycheck.h
+++ b/src/libs/installer/productkeycheck.h
@@ -38,6 +38,7 @@
namespace QInstaller{
class PackageManagerCore;
+ class Repository;
}
class ProductKeyCheckPrivate;
@@ -60,6 +61,9 @@ public:
// to filter none valid licenses
bool isValidLicenseTextFile(const QString &fileName);
+ // to filter repositories not matching the license
+ bool isValidRepository(const QInstaller::Repository &repository) const;
+
private:
ProductKeyCheck();
ProductKeyCheckPrivate *const d;