gcontini
2019-10-19 8bbef2865455754425a84b86680a89bff8aa7691
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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);
}
 
}
}