diff options
Diffstat (limited to 'windows')
-rw-r--r-- | windows/mainwindow.cpp | 4 | ||||
-rw-r--r-- | windows/mainwindow.hpp | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/windows/mainwindow.cpp b/windows/mainwindow.cpp index cb607e1..697fd9d 100644 --- a/windows/mainwindow.cpp +++ b/windows/mainwindow.cpp @@ -146,6 +146,10 @@ void MainWindow::UpdateChatPrependHistory(const std::vector<Snowflake> &msgs) { m_members.UpdateMemberList(); } +void MainWindow::InsertChatInput(std::string text) { + m_chat.InsertChatInput(text); +} + void MainWindow::SetAbaddon(Abaddon *ptr) { m_abaddon = ptr; m_channel_list.SetAbaddon(ptr); diff --git a/windows/mainwindow.hpp b/windows/mainwindow.hpp index 415a405..e3c7ec5 100644 --- a/windows/mainwindow.hpp +++ b/windows/mainwindow.hpp @@ -20,6 +20,7 @@ public: void UpdateChatMessageDeleted(Snowflake id, Snowflake channel_id); void UpdateChatMessageEditContent(Snowflake id, Snowflake channel_id); void UpdateChatPrependHistory(const std::vector<Snowflake> &msgs); + void InsertChatInput(std::string text); protected: Gtk::Box m_main_box; |