summaryrefslogtreecommitdiff
path: root/components/chatmessage.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'components/chatmessage.hpp')
-rw-r--r--components/chatmessage.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/components/chatmessage.hpp b/components/chatmessage.hpp
index 598147b..d34baaa 100644
--- a/components/chatmessage.hpp
+++ b/components/chatmessage.hpp
@@ -1,5 +1,6 @@
#pragma once
#include <gtkmm.h>
+#include <string>
#include "../discord/discord.hpp"
enum class ChatDisplayType {
@@ -14,11 +15,16 @@ class Abaddon;
class ChatMessageContainer : public Gtk::ListBoxRow {
public:
Snowflake UserID;
+ Snowflake ChannelID;
ChatMessageContainer(const MessageData *data);
+ void SetAbaddon(Abaddon *ptr);
void AddNewContent(Gtk::Widget *widget, bool prepend = false);
+ void Update();
protected:
+ Abaddon *m_abaddon = nullptr;
+
Gtk::Box *m_main_box;
Gtk::Box *m_content_box;
Gtk::Box *m_meta_box;