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); } } }