FOSSology  4.4.0
Open Source License Compliance by Open Source Software
licensematch.hpp
1 /*
2  SPDX-FileCopyrightText: © 2014-2015 Siemens AG
3 
4  SPDX-License-Identifier: GPL-2.0-only
5 */
6 
7 #ifndef NINKA_AGENT_LICENSE_MATCH_HPP
8 #define NINKA_AGENT_LICENSE_MATCH_HPP
9 
10 #include <string>
11 
12 using namespace std;
13 
15 {
16 public:
17  LicenseMatch(string licenseName, unsigned percentage);
18  ~LicenseMatch();
19 
20  const string getLicenseName() const;
21  unsigned getPercentage() const;
22 
23 private:
24  string licenseName;
25  unsigned percentage;
26 };
27 
28 #endif // NINKA_AGENT_LICENSE_MATCH_HPP