gcontini
2019-10-19 497745ad31c90545b288e2845049e0ce474bcbe2
src/library/locate/ExternalDefinition.hpp
New file
@@ -0,0 +1,30 @@
/*
 * ExplicitDefinition.hpp
 *
 *  Created on: Oct 12, 2019
 *      Author: devel
 */
#ifndef SRC_LIBRARY_LOCATE_EXTERNALDEFINITION_HPP_
#define SRC_LIBRARY_LOCATE_EXTERNALDEFINITION_HPP_
#include "LocatorStrategy.hpp"
namespace license {
namespace locate {
class ExternalDefinition: public LocatorStrategy {
private:
   const LicenseLocation* m_location;
   bool licenseDataIsBase64 = false;
public:
   ExternalDefinition(const LicenseLocation* location);
   virtual const std::vector<std::string> license_locations(EventRegistry& eventRegistry);
   virtual const std::string retrieve_license_content(const std::string &licenseLocation) const;
   virtual ~ExternalDefinition();
};
} /* namespace locate */
} /* namespace license */
#endif /* SRC_LIBRARY_LOCATE_EXTERNALDEFINITION_HPP_ */