From b939d1a0b6b375ea5bae54d83a1cb89eb888c75a Mon Sep 17 00:00:00 2001
From: gcontini <1121667+gcontini@users.noreply.github.com>
Date: 周六, 21 3月 2020 20:57:47 +0800
Subject: [PATCH] update docs

---
 src/library/licensecc.cpp |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/library/licensecc.cpp b/src/library/licensecc.cpp
index dee72dc..7736df2 100644
--- a/src/library/licensecc.cpp
+++ b/src/library/licensecc.cpp
@@ -18,7 +18,7 @@
 #include <licensecc_properties.h>
 
 #include "base/logger.h"
-#include "pc_identifier/pc_identifier_facade.hpp"
+#include "hw_identifier/hw_identifier_facade.hpp"
 #include "limits/license_verifier.hpp"
 #include "base/StringUtils.h"
 #include "LicenseReader.hpp"
@@ -28,15 +28,15 @@
 
 void print_error(char out_buffer[LCC_API_ERROR_BUFFER_SIZE], LicenseInfo* licenseInfo) {}
 
-bool identify_pc(LCC_API_IDENTIFICATION_STRATEGY pc_id_method, char* chbuffer, size_t* bufSize) {
+bool identify_pc(LCC_API_HW_IDENTIFICATION_STRATEGY pc_id_method, char* chbuffer, size_t* bufSize) {
 	bool result = false;
 	if (*bufSize > LCC_API_PC_IDENTIFIER_SIZE && chbuffer != nullptr) {
 		try {
-			string pc_id = license::PcIdentifierFacade::generate_user_pc_signature(pc_id_method);
+			string pc_id = license::hw_identifier::HwIdentifierFacade::generate_user_pc_signature(pc_id_method);
 			strncpy(chbuffer, pc_id.c_str(), *bufSize);
 			result = true;
 		} catch (const std::exception& ex) {
-			LOG_ERROR("Error calculating pc_identifier: %s", ex.what());
+			LOG_ERROR("Error calculating hw_identifier: %s", ex.what());
 #ifdef _DEBUG
 				cout
 				<< "Error occurred: " << ex.what() << std::endl;

--
Gitblit v1.9.1