summaryrefslogtreecommitdiff
path: root/src/checker/errors/settings/server.hpp
blob: 31a7758ae9ee52dde2ce4362478e7abaa2b66584 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#pragma once

#include "checker/errors/types/isettings_error.hpp"

namespace smtp::checker::errors::settings
{
    class Server : public types::IErrorSettings
    {
    public:
        Server() = default;
        ~Server() override = default;

        bool Check( general::SettingsFileDataType const& line ) const override;
    private:
        bool IsNormalName( std::string const& line ) const;
        bool IsIpName( std::string const& line ) const;
    };
}