diff options
Diffstat (limited to 'src/libs/installer/productkeycheck.h')
-rw-r--r-- | src/libs/installer/productkeycheck.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/libs/installer/productkeycheck.h b/src/libs/installer/productkeycheck.h index 1ecffc3d2..382986e30 100644 --- a/src/libs/installer/productkeycheck.h +++ b/src/libs/installer/productkeycheck.h @@ -34,6 +34,11 @@ #include <QString> #include <QHash> +#include <QPointer> + +namespace QInstaller{ + class PackageManagerCore; +} class ProductKeyCheckPrivate; @@ -41,7 +46,8 @@ class INSTALLER_EXPORT ProductKeyCheck { public: ~ProductKeyCheck(); - static ProductKeyCheck *instance(); + static ProductKeyCheck *instance(QInstaller::PackageManagerCore *core = 0); + static void setPackageManagerCore(QInstaller::PackageManagerCore *core); // was validLicense bool hasValidKey(); |