nancy.liao
2025-05-29 8d405b265285c368df2e9cf1c14acee7532e0ee7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/*
 * 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;
public:
    ExternalDefinition(const LicenseLocation* location);
    const virtual std::vector<std::string> license_locations(EventRegistry& eventRegistry);
    const virtual std::string retrieve_license_content(const std::string& licenseLocation) const;
    virtual ~ExternalDefinition();
};
 
} /* namespace locate */
} /* namespace license */
 
#endif /* SRC_LIBRARY_LOCATE_EXTERNALDEFINITION_HPP_ */