diff options
Diffstat (limited to 'include/ChatMessage.hpp')
-rw-r--r-- | include/ChatMessage.hpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/ChatMessage.hpp b/include/ChatMessage.hpp index 0547557..271aa5f 100644 --- a/include/ChatMessage.hpp +++ b/include/ChatMessage.hpp @@ -1,16 +1,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); + 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; }; }
\ No newline at end of file |