1234567891011121314151617181920212223242526 |
- #ifndef CHECKLICENCE_H
- #define CHECKLICENCE_H
- #include <QCoreApplication>
- #include <QProcess>
- #include "QDebug"
- #if defined(CHECKLICENCE_LIBRARY)
- # define CHECKLICENCE_EXPORT Q_DECL_EXPORT
- #else
- # define CHECKLICENCE_EXPORT Q_DECL_IMPORT
- #endif
- class CHECKLICENCE_EXPORT Checklicence
- {
- public:
- Checklicence();
- static int CheckLincese();
- static QString getDiskID();
- static QString hashString(const QString &str);
- static QString caesarCipher(const QString &text, int shift);
- static QString readLicense();
- static void creatMachFile(const QString &str);
- };
- #endif // CHECKLICENCE_H
|