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

#include "general/idecorator.hpp"
#include "types/imessage_builder.hpp"

namespace smtp::message::builder
{
    class Text : public general::IDecorator<types::IMessageBuilder>
    {
    public:
        explicit Text( std::string const& text );
        ~Text() override = default;

        std::string Get() const override;
    private:
        std::string const& mText;
    };
}