From d5c62b2bf602374febf5f4cc8c3d47a23f80ab27 Mon Sep 17 00:00:00 2001 From: gcontini <1121667+gcontini@users.noreply.github.com> Date: 周日, 22 3月 2020 11:51:31 +0800 Subject: [PATCH] improve documentation --- src/library/hw_identifier/hw_identifier_facade.hpp | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/src/library/hw_identifier/hw_identifier_facade.hpp b/src/library/hw_identifier/hw_identifier_facade.hpp index bd198b3..aced4a2 100644 --- a/src/library/hw_identifier/hw_identifier_facade.hpp +++ b/src/library/hw_identifier/hw_identifier_facade.hpp @@ -23,7 +23,13 @@ virtual ~HwIdentifierFacade(){}; public: static LCC_EVENT_TYPE validate_pc_signature(const std::string& str_code); - static std::string generate_user_pc_signature(LCC_API_IDENTIFICATION_STRATEGY strategy); + /** + * + * @throws logic_error if pc_identifier can't be generated. + * @param strategy + * @return + */ + static std::string generate_user_pc_signature(LCC_API_HW_IDENTIFICATION_STRATEGY strategy); }; } // namespace hw_identifier -- Gitblit v1.9.1