summaryrefslogtreecommitdiff
path: root/src/components/chatmessage.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/chatmessage.hpp')
-rw-r--r--src/components/chatmessage.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/components/chatmessage.hpp b/src/components/chatmessage.hpp
index bd99275..cf7dd3d 100644
--- a/src/components/chatmessage.hpp
+++ b/src/components/chatmessage.hpp
@@ -22,6 +22,7 @@ protected:
void AddClickHandler(Gtk::Widget *widget, std::string);
Gtk::TextView *CreateTextComponent(const Message &data); // Message.Content
void UpdateTextComponent(Gtk::TextView *tv);
+ Gtk::Widget *CreateEmbedsComponent(const std::vector<EmbedData> &embeds);
Gtk::Widget *CreateEmbedComponent(const EmbedData &data); // Message.Embeds[0]
Gtk::Widget *CreateImageComponent(const std::string &proxy_url, const std::string &url, int inw, int inh);
Gtk::Widget *CreateAttachmentComponent(const AttachmentData &data); // non-image attachments