open-license-manager
2014-10-13 852dc2056835679e2beb4b1ee9bfe4385ab27bf2
src/library/license++.cpp
@@ -17,8 +17,7 @@
}
DllExport void identify_pc(IDENTIFICATION_STRATEGY pc_id_method,
      char chbuffer[PC_IDENTIFIER_SIZE + 1]) {
DllExport void identify_pc(IDENTIFICATION_STRATEGY pc_id_method, char chbuffer[PC_IDENTIFIER_SIZE + 1]) {
}
@@ -31,8 +30,8 @@
         if (!it->has_expiry) {
            it->toLicenseInfo(license);
            break;
         } else if (curLicense_exp < it->to_date) {
            curLicense_exp = it->to_date;
         } else if (curLicense_exp < it->expires_on()) {
            curLicense_exp = it->expires_on();
            it->toLicenseInfo(license);
         }
      }
@@ -75,12 +74,12 @@
   return result;
}
DllExport enum EVENT_TYPE confirm_license(char * product,
DllExport EVENT_TYPE confirm_license(char * product,
      LicenseLocation licenseLocation) {
   return LICENSE_OK;
}
DllExport enum EVENT_TYPE release_license(char * product,
DllExport EVENT_TYPE release_license(char * product,
      LicenseLocation licenseLocation) {
   return LICENSE_OK;
}