nancy.liao
2025-05-27 6a0df39e3969d490d8c5ead4e3aaf76ae9d67fe2
src/library/locate/LocatorStrategy.cpp
@@ -5,19 +5,18 @@
 *      Author: Gabriele Contini
 */
#include <build_properties.h>
#include <licensecc_properties.h>
#include "../base/FileUtils.hpp"
#include "LocatorStrategy.hpp"
#include "../base/file_utils.hpp"
namespace license {
namespace locate {
using namespace std;
const string LocatorStrategy::retrieveLicense(
      const string &licenseLocation) const {
   return get_file_contents(licenseLocation.c_str(), MAX_LICENSE_LENGTH);
const string LocatorStrategy::retrieve_license_content(const string &licenseLocation) const {
   return get_file_contents(licenseLocation.c_str(), LCC_API_MAX_LICENSE_DATA_LENGTH);
}
}
}
}  // namespace locate
}  // namespace license