From 8e1bdfdca2ad2157fd74cedc1a6768a1b1c0849d Mon Sep 17 00:00:00 2001 From: gcontini <1121667+gcontini@users.noreply.github.com> Date: 周日, 09 2月 2020 04:48:55 +0800 Subject: [PATCH] identifiers next work --- src/library/pc_identifier/pc_identifier_facade.hpp | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/src/library/pc_identifier/pc_identifier_facade.hpp b/src/library/pc_identifier/pc_identifier_facade.hpp index 02b2d0e..5494fe1 100644 --- a/src/library/pc_identifier/pc_identifier_facade.hpp +++ b/src/library/pc_identifier/pc_identifier_facade.hpp @@ -15,16 +15,18 @@ #include "identification_strategy.hpp" namespace license { +namespace pc_identifier { + class PcIdentifierFacade { private: PcIdentifierFacade(){}; virtual ~PcIdentifierFacade(){}; public: - 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 pc_identifier } /* namespace license */ #endif /* SRC_LIBRARY_PC_IDENTIFIER_PC_IDENTIFIER_FACADE_HPP_ */ -- Gitblit v1.9.1