gcontini
2019-10-19 497745ad31c90545b288e2845049e0ce474bcbe2
src/library/locate/LocatorStrategy.cpp
New file
@@ -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);
}
}
}