gcontini
2019-11-16 5a8a12d7a2c69610cd7a9a00ed1b3579b750a914
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*
 * EnvironmentVarLocation.cpp
 *
 *  Created on: Oct 12, 2019
 *      Author: Gabriele Contini
 */
 
#include <licensecc_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);
}
 
}  // namespace locate
}  // namespace license