diff options
Diffstat (limited to 'components/chatmessage.hpp')
-rw-r--r-- | components/chatmessage.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/components/chatmessage.hpp b/components/chatmessage.hpp index 7dd057e..f01dc02 100644 --- a/components/chatmessage.hpp +++ b/components/chatmessage.hpp @@ -30,6 +30,10 @@ protected: std::string ParseMessageContent(std::string content); std::string ParseMentions(std::string content); + void HandleLinks(Gtk::TextView *tv); + bool OnLinkClick(GdkEventButton *ev); + std::map<Glib::RefPtr<Gtk::TextTag>, std::string> m_linkmap; // sue me + std::unordered_map<std::string, std::pair<Gtk::Image *, AttachmentData>> m_img_loadmap; void AttachMenuHandler(Gtk::Widget *widget); |