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/ethernet.hpp | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/src/library/pc_identifier/ethernet.hpp b/src/library/pc_identifier/ethernet.hpp index c35e9f6..f857ba4 100644 --- a/src/library/pc_identifier/ethernet.hpp +++ b/src/library/pc_identifier/ethernet.hpp @@ -11,20 +11,22 @@ #include "identification_strategy.hpp" namespace license { +namespace pc_identifier { class Ethernet : public IdentificationStrategy { private: const bool use_ip; - public: Ethernet(bool use_ip); virtual ~Ethernet(); virtual LCC_API_IDENTIFICATION_STRATEGY identification_strategy() const; virtual FUNCTION_RETURN identify_pc(PcIdentifier &pc_id) const; virtual std::vector<PcIdentifier> alternative_ids() const; + using IdentificationStrategy::validate_identifier; virtual LCC_EVENT_TYPE validate_identifier(const PcIdentifier &identifier) const; }; +} // namespace pc_identifier } /* namespace license */ #endif /* SRC_LIBRARY_PC_IDENTIFIER_ETHERNET_HPP_ */ -- Gitblit v1.9.1