gcontini
2020-02-24 d4edbb5a0aae0211389ce86264809b4237c73769
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 "LocatorStrategy.hpp"
#include "../base/file_utils.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(), LCC_API_MAX_LICENSE_DATA_LENGTH);
}
 
}  // namespace locate
}  // namespace license