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

#include "types.hpp"
#include <gtkmm/grid.h>
#include <gtkmm/label.h>

namespace dchat
{
    class User;
    class ChatMessage : public Gtk::Grid
    {
    public:
        ChatMessage(const Glib::ustring &username, const Glib::ustring &text, uint32_t timestampSeconds, const User *user);
        
        Gtk::Label username;
        Gtk::Label text;
        uint32_t timestampSeconds;
        const User *user;
    };
}