summaryrefslogtreecommitdiff
path: root/src/file/mail/sort_decorator.hpp
blob: 142159b56d9dcc9ff72474f55fdf03ae8fd28168 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#pragma once

#include "general/struct.hpp"
#include "general/idecorator.hpp"
#include "types/ifile_manipulator.hpp"

namespace smtp::file::mail
{
    class SortDecorator : public general::IDecorator< types::IFileManipulator>
    {
    public:
        SortDecorator() = default;
        ~SortDecorator() = default;

        general::MailsSet Read() const;
        bool Write( general::MailsSet const& data ) const;
    };

}