From 8d405b265285c368df2e9cf1c14acee7532e0ee7 Mon Sep 17 00:00:00 2001
From: nancy.liao <huihui.liao@greentest.com.cn>
Date: 摹曛, 29 5月 2025 18:14:38 +0800
Subject: [PATCH] Merge branch 'develop' of http://139.9.88.116:3000/r/module/open-license-manager into develop

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

diff --git a/src/library/locate/LocatorFactory.hpp b/src/library/locate/LocatorFactory.hpp
index 6f1cd30..9a1f22c 100644
--- a/src/library/locate/LocatorFactory.hpp
+++ b/src/library/locate/LocatorFactory.hpp
@@ -4,9 +4,10 @@
 #include <cstddef>
 #include <string>
 #include <vector>
+#include <licensecc/datatypes.h>
+#include <licensecc_properties.h>
 
 #include "../base/base.h"
-#include "../api/datatypes.h"
 #include "LocatorStrategy.hpp"
 
 namespace license {
@@ -14,16 +15,18 @@
 
 class LocatorFactory {
 private:
+	static bool find_license_near_moduleb;
+	static bool find_license_with_env_varb;
 	inline LocatorFactory() {
 	}
 	inline ~LocatorFactory() {
 	}
 public:
-
 	static FUNCTION_RETURN get_active_strategies(
 			std::vector<std::unique_ptr<LocatorStrategy>> &strategiesOut,
 			const LicenseLocation *locationHint);
-
+	static void find_license_near_module(bool enable) { find_license_near_moduleb = enable; }
+	static void find_license_with_env_var(bool enable) { find_license_with_env_varb = enable; }
 };
 
 }

--
Gitblit v1.9.1