gcontini
2020-04-25 e047dbe884f5288943d5ba2f8843a078d647d7ef
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
30
31
32
/*
 * dmi_info.hpp
 *
 *  Created on: Apr 24, 2020
 *      Author: devel
 */
 
#ifndef SRC_LIBRARY_OS_DMI_INFO_HPP_
#define SRC_LIBRARY_OS_DMI_INFO_HPP_
 
#include <string>
 
namespace license {
namespace os {
class DmiInfo {
private:
    std::string m_sys_vendor;
    std::string m_bios_vendor;
    std::string m_bios_description;
 
public:
    DmiInfo();
    virtual ~DmiInfo(){};
    const std::string& bios_vendor() const { return m_bios_vendor; };
    const std::string& sys_vendor() const { return m_sys_vendor; };
    const std::string& bios_description() const { return m_bios_description; };
};
 
}  // namespace os
} /* namespace license */
 
#endif /* SRC_LIBRARY_OS_DMI_INFO_HPP_ */