From 238f45ab3ded8e59d1b17e73715ca34bcce5775a Mon Sep 17 00:00:00 2001 From: "sangwan.kwon" Date: Mon, 10 Oct 2016 18:23:42 +0900 Subject: [PATCH] Clean up header files about wrt Change-Id: I6a22072d0cb2b52e74d5b0d626baec026ff21176 Signed-off-by: sangwan.kwon --- src/vcore/CertStoreType.cpp | 3 +-- src/vcore/CertStoreType.h | 3 +-- src/vcore/CertificateIdentifier.h | 7 +------ src/vcore/SignatureFinder.h | 2 -- src/vcore/ValidatorFactories.h | 5 +---- 5 files changed, 4 insertions(+), 16 deletions(-) diff --git a/src/vcore/CertStoreType.cpp b/src/vcore/CertStoreType.cpp index 7e8cf0d..89a91d3 100644 --- a/src/vcore/CertStoreType.cpp +++ b/src/vcore/CertStoreType.cpp @@ -18,8 +18,7 @@ * @file CertStoreType.cpp * @version 1.0 * @brief Identification of certificate domain. Certificate domains - * were defined in WAC 1.0 documentation. This is a part - * should be implemented in wrt-installer. + * were defined in WAC 1.0 documentation. */ #include diff --git a/src/vcore/CertStoreType.h b/src/vcore/CertStoreType.h index 630b478..c24e4e0 100644 --- a/src/vcore/CertStoreType.h +++ b/src/vcore/CertStoreType.h @@ -18,8 +18,7 @@ * @file CertStoreType.h * @version 1.0 * @brief Identification of certificate domain. Certificate domains - * were defined in WAC 1.0 documentation. This is a part - * should be implemented in wrt-installer. + * were defined in WAC 1.0 documentation. */ #ifndef _VALIDATION_CORE_CERTSTORETYPE_H_ #define _VALIDATION_CORE_CERTSTORETYPE_H_ diff --git a/src/vcore/CertificateIdentifier.h b/src/vcore/CertificateIdentifier.h index 6e807d4..5473949 100644 --- a/src/vcore/CertificateIdentifier.h +++ b/src/vcore/CertificateIdentifier.h @@ -19,10 +19,7 @@ * @version 1.0 * @brief */ -#ifndef \ - _WRT_ENGINE_SRC_INSTALLER_CORE_VALIDATION_CORE_CERTIFICATEIDENTIFICATOR_H_ -#define \ - _WRT_ENGINE_SRC_INSTALLER_CORE_VALIDATION_CORE_CERTIFICATEIDENTIFICATOR_H_ +#pragma once #include @@ -68,5 +65,3 @@ private: FingerPrintMap fingerPrintMap; }; } // namespace ValidationCore - -#endif // _WRT_ENGINE_SRC_INSTALLER_CORE_VALIDATION_CORE_CERTIFICATEIDENTIFICATOR_H_ diff --git a/src/vcore/SignatureFinder.h b/src/vcore/SignatureFinder.h index 77925e9..4fea63a 100644 --- a/src/vcore/SignatureFinder.h +++ b/src/vcore/SignatureFinder.h @@ -18,8 +18,6 @@ * @author Bartlomiej Grzelewski (b.grzelewski@samsung.com) * @version 1.0 * @brief Search for author-signature.xml and signatureN.xml files. - * This class is WAC 2.0 specific and shuld be moved to - * wrt-installer. */ #ifndef _VALIDATION_CORE_SIGNATUREFINDER_H_ #define _VALIDATION_CORE_SIGNATUREFINDER_H_ diff --git a/src/vcore/ValidatorFactories.h b/src/vcore/ValidatorFactories.h index 0c75279..92d216e 100644 --- a/src/vcore/ValidatorFactories.h +++ b/src/vcore/ValidatorFactories.h @@ -19,8 +19,7 @@ * @version 1.0 * @brief */ -#ifndef _WRT_ENGINE_SRC_INSTALLER_CORE_VALIDATION_CORE_VALIDATORFACTORY_H_ -#define _WRT_ENGINE_SRC_INSTALLER_CORE_VALIDATION_CORE_VALIDATORFACTORY_H_ +#pragma once #include @@ -32,5 +31,3 @@ namespace ValidationCore { const CertificateIdentifier &createCertificateIdentifier(); } // namespace ValidationCore - -#endif // _WRT_ENGINE_SRC_INSTALLER_CORE_VALIDATION_CORE_VALIDATORFACTORY_H_ -- 2.7.4