From 7fcd35b7ad0fa2b0a49c5cdd9a62e23412bf8731 Mon Sep 17 00:00:00 2001 From: claiff Date: Fri, 30 Sep 2022 12:21:34 +0300 Subject: Add checking mails Add check server fix add simillar mails --- src/checker/errors/types/imails_error.hpp | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'src/checker/errors/types/imails_error.hpp') diff --git a/src/checker/errors/types/imails_error.hpp b/src/checker/errors/types/imails_error.hpp index d696bbd..277f82e 100644 --- a/src/checker/errors/types/imails_error.hpp +++ b/src/checker/errors/types/imails_error.hpp @@ -5,15 +5,21 @@ namespace smtp::checker::errors::types { - class IError + class IErrorMails { public: - IError() = default; - virtual ~IError() = default; + IErrorMails() = default; + virtual ~IErrorMails() = default; + + std::string GetMethodName() const + { + static const std::string METHOD_NAME = "Check mails"; + return METHOD_NAME; + } virtual bool Check( std::string const& line ) const = 0; }; - using IErrorPtr = std::shared_ptr; + using IErrorMailsPtr = std::shared_ptr; } -- cgit v1.2.3