diff options
Diffstat (limited to 'src/checker/registrator_mails.hpp')
-rw-r--r-- | src/checker/registrator_mails.hpp | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/checker/registrator_mails.hpp b/src/checker/registrator_mails.hpp new file mode 100644 index 0000000..86eb41a --- /dev/null +++ b/src/checker/registrator_mails.hpp @@ -0,0 +1,19 @@ +#pragma once + +#include "errors/types/imails_error.hpp" +#include <list> + +namespace smtp::checker +{ + class RegistratorMails + { + public: + RegistratorMails() = default; + ~RegistratorMails() = default; + + void Add( errors::types::IErrorPtr const &error ); + bool Check( std::string const& line ) const; + private: + std::list<errors::types::IErrorPtr> mErrors; + }; +} // namespace smtp::checker |