#ifndef CHECKLICENCE_H #define CHECKLICENCE_H #include #include #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