ImSQL
C++ 기반 SQL 자동화 및 라이선스 관리 엔진
Loading...
Searching...
No Matches
license_checker.hpp
Go to the documentation of this file.
1
7#pragma once
8
9#include "license_common.hpp"
10#include "license_info.hpp"
12
13namespace license {
14
22 public:
26 LicenseChecker() = default;
27
31 ~LicenseChecker() = default;
32
38 bool load(const std::string& filepath);
39
46 bool check(const std::string& program, const std::string& version);
47
52 const auto& getLicenseInfo() const { return m_license_info; }
53
58 const auto& getLicenseFilepath() const { return m_license_filepath; }
59
60 private:
61 LicenseInfo m_license_info;
62 std::string m_license_filepath;
63 }; // class LicenseChecker
64
65} // namespace license // end of license
LicenseChecker()=default
기본 생성자
bool check(const std::string &program, const std::string &version)
로드된 라이선스 정보를 기반으로 프로그램/버전 검증을 수행합니다.
Definition license_checker.cpp:21
const auto & getLicenseFilepath() const
현재 사용된 라이선스 파일 경로를 반환합니다.
Definition license_checker.hpp:58
bool load(const std::string &filepath)
라이선스 파일을 로드합니다.
Definition license_checker.cpp:9
~LicenseChecker()=default
소멸자
const auto & getLicenseInfo() const
현재 로드된 라이선스 정보를 반환합니다.
Definition license_checker.hpp:52
라이선스 관련 공통 정의를 포함하는 파일입니다.
라이선스 정보 구조체 및 관련 유틸리티 함수 정의 파일입니다.
라이선스 키 복호화 및 서명 검증 관련 유틸리티를 정의한 파일입니다.
라이센스 정보
Definition license_info.hpp:21