#pragma once #include #include namespace smtp::checker::errors::types { class IErrorMails { public: 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 IErrorMailsPtr = std::shared_ptr; }