From 497745ad31c90545b288e2845049e0ce474bcbe2 Mon Sep 17 00:00:00 2001
From: gcontini <1121667+gcontini@users.noreply.github.com>
Date: 周六, 19 10月 2019 10:10:45 +0800
Subject: [PATCH] Merge branch 'feature/code_review_and_refactor' into develop

---
 src/library/locate/LocatorStrategy.cpp |   23 +++++++++++++++++++++++
 1 files changed, 23 insertions(+), 0 deletions(-)

diff --git a/src/library/locate/LocatorStrategy.cpp b/src/library/locate/LocatorStrategy.cpp
new file mode 100644
index 0000000..e1319b2
--- /dev/null
+++ b/src/library/locate/LocatorStrategy.cpp
@@ -0,0 +1,23 @@
+/*
+ * EnvironmentVarLocation.cpp
+ *
+ *  Created on: Oct 12, 2019
+ *      Author: Gabriele Contini
+ */
+
+#include <build_properties.h>
+
+#include "../base/FileUtils.hpp"
+#include "LocatorStrategy.hpp"
+
+namespace license {
+namespace locate {
+using namespace std;
+
+const string LocatorStrategy::retrieve_license_content(
+		const string &licenseLocation) const {
+	return get_file_contents(licenseLocation.c_str(), MAX_LICENSE_LENGTH);
+}
+
+}
+}

--
Gitblit v1.9.1