Browse Source

Generate license code through hard disk partition identification code

dongjunhong 8 months ago
parent
commit
2838251579

+ 0 - 22
src/common/common/license_local/adclicensewithlocal.cpp

@@ -1,22 +0,0 @@
-
-#include <QMessageBox>
-#include "adclicense.h"
-
-int ADCLicenseCheckWithWin()
-{
-    int nRtn = ADCLicenseServ::CheckLincese();
-    if(nRtn == -1)
-    {
-        QMessageBox::warning(NULL,"Warning","license 错误,请申请license",QMessageBox::YesAll);
-        return nRtn;
-    }
-    else
-    {
-        if(nRtn == -2)
-        {
-            QMessageBox::warning(NULL,"Warning","license服务启动失败",QMessageBox::YesAll);
-            return nRtn;
-        }
-    }
-    return nRtn;
-}

+ 0 - 5
src/common/common/license_local/adclicensewithlocal.h

@@ -1,5 +0,0 @@
-#ifndef ADCLICENSEWITHWIN_H
-#define ADCLICENSEWITHWIN_H
-
-int ADCLicenseCheckWithWin();
-#endif // ADCLICENSEWITHWIN_H