summaryrefslogtreecommitdiff
path: root/src/checker/registrator_mails.hpp
blob: 2514a10b3edc4d0ad63b0341edd8e23b0bde7cd1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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::IErrorMailsPtr const &error );
        bool Check( std::string const& line ) const;
    private:
        std::list<errors::types::IErrorMailsPtr> mErrors;
    };
} // namespace smtp::checker