// // Created by claiff on 18.09.22. // #pragma once #include #include "management/general.hpp" namespace smtp::checker::errors::types { class IErrorSettings { public: IErrorSettings() = default; virtual ~IErrorSettings() = default; std::string GetMethodName() const { static const std::string METHOD_NAME = "Check settings"; return METHOD_NAME; } virtual bool Check( manage::SettingsFileDataType const& line ) const = 0; }; using IErrorSettingsPtr = std::shared_ptr; }