From 1d1082fe695366da3498f528b953203a90fe7385 Mon Sep 17 00:00:00 2001
From: Gabriele Contini <contini.mailing@gmail.com>
Date: 周六, 01 2月 2020 02:48:51 +0800
Subject: [PATCH] rename enums and further developments

---
 src/library/pc_identifier/pc_identifier_facade.hpp |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/src/library/pc_identifier/pc_identifier_facade.hpp b/src/library/pc_identifier/pc_identifier_facade.hpp
index 0d54332..02b2d0e 100644
--- a/src/library/pc_identifier/pc_identifier_facade.hpp
+++ b/src/library/pc_identifier/pc_identifier_facade.hpp
@@ -8,7 +8,11 @@
 #ifndef SRC_LIBRARY_PC_IDENTIFIER_PC_IDENTIFIER_FACADE_HPP_
 #define SRC_LIBRARY_PC_IDENTIFIER_PC_IDENTIFIER_FACADE_HPP_
 #include <string>
+#include <unordered_map>
+#include <bits/unique_ptr.h>
 #include <licensecc/datatypes.h>
+#include "pc_identifier_facade.hpp"
+#include "identification_strategy.hpp"
 
 namespace license {
 class PcIdentifierFacade {
@@ -16,8 +20,9 @@
 	PcIdentifierFacade(){};
 	virtual ~PcIdentifierFacade(){};
 public:
-	static EVENT_TYPE validate_pc_signature(const std::string& str_code);
-	static std::string generate_user_pc_signature(IDENTIFICATION_STRATEGY strategy);
+	static std::unordered_map<LCC_API_IDENTIFICATION_STRATEGY, std::unique_ptr<IdentificationStrategy>> STRATEGY_MAP;
+	static LCC_EVENT_TYPE validate_pc_signature(const std::string& str_code);
+	static std::string generate_user_pc_signature(LCC_API_IDENTIFICATION_STRATEGY strategy);
 };
 
 } /* namespace license */

--
Gitblit v1.9.1