From 483c73630a82fe8fbe9fe74cc8bbdd23a13d8b6b Mon Sep 17 00:00:00 2001
From: gcontini <1121667+gcontini@users.noreply.github.com>
Date: 周六, 15 2月 2020 23:49:50 +0800
Subject: [PATCH] pc identifiers work

---
 src/library/hw_identifier/ethernet.hpp |    9 +++------
 1 files changed, 3 insertions(+), 6 deletions(-)

diff --git a/src/library/pc_identifier/ethernet.hpp b/src/library/hw_identifier/ethernet.hpp
similarity index 62%
rename from src/library/pc_identifier/ethernet.hpp
rename to src/library/hw_identifier/ethernet.hpp
index f857ba4..e02d2c1 100644
--- a/src/library/pc_identifier/ethernet.hpp
+++ b/src/library/hw_identifier/ethernet.hpp
@@ -11,7 +11,7 @@
 #include "identification_strategy.hpp"
 
 namespace license {
-namespace pc_identifier {
+namespace hw_identifier {
 
 class Ethernet : public IdentificationStrategy {
 private:
@@ -20,13 +20,10 @@
 	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;
+	virtual std::vector<HwIdentifier> alternative_ids() const;
 };
 
-}  // namespace pc_identifier
+}  // namespace hw_identifier
 } /* namespace license */
 
 #endif /* SRC_LIBRARY_PC_IDENTIFIER_ETHERNET_HPP_ */

--
Gitblit v1.9.1