aboutsummaryrefslogtreecommitdiff
path: root/include/Message.hpp
blob: 05415748620c1384cc722abf60c9248176eb013d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#pragma once

#include <memory>
#include "Text.hpp"

namespace dchat
{
    struct RoomMessage;

    class Message
    {
    public:
        Message(std::shared_ptr<RoomMessage> roomMessage, bool plainText);

        std::shared_ptr<RoomMessage> roomMessage;
        Text text;

        bool onlineUser;
    };
}