mirror of
https://github.com/debauchee/barrier.git
synced 2026-02-13 07:06:10 +08:00
36 lines
558 B
C++
36 lines
558 B
C++
#ifndef ACTIVATIONDIALOG_H
|
|
#define ACTIVATIONDIALOG_H
|
|
|
|
#include <QDialog>
|
|
#include <LicenseManager.h>
|
|
|
|
namespace Ui {
|
|
class ActivationDialog;
|
|
}
|
|
|
|
class AppConfig;
|
|
|
|
class ActivationDialog : public QDialog
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
ActivationDialog(QWidget *parent, AppConfig& appConfig,
|
|
LicenseManager& licenseManager);
|
|
~ActivationDialog();
|
|
|
|
public slots:
|
|
void reject();
|
|
void accept();
|
|
|
|
protected:
|
|
void refreshSerialKey();
|
|
|
|
private:
|
|
Ui::ActivationDialog *ui;
|
|
AppConfig* m_appConfig;
|
|
LicenseManager* m_LicenseManager;
|
|
};
|
|
|
|
#endif // ACTIVATIONDIALOG_H
|