summaryrefslogtreecommitdiff
path: root/src/checker/registrator_mails.hpp
blob: b87cd87b43ee9c24d1e85fdbd2da777f9f75760f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#pragma once

#include <list>

#include "errors/types/imails_error.hpp"

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;
    };
}