summaryrefslogtreecommitdiff
path: root/src/components/chatinput.hpp
diff options
context:
space:
mode:
authorouwou <26526779+ouwou@users.noreply.github.com>2023-02-07 15:03:03 -0500
committerouwou <26526779+ouwou@users.noreply.github.com>2023-02-07 15:03:03 -0500
commitc1303bd289013a504b529f8f19444f12e4884040 (patch)
tree9318ba0b3b660264cba5c4a467b6f79cf80188e0 /src/components/chatinput.hpp
parentea04035f0db8fa990dd7ca8dd1a64f56bceb82e2 (diff)
parent4dd0eb24c40a7276dea4fc349d885f4277795dcb (diff)
downloadabaddon-portaudio-c1303bd289013a504b529f8f19444f12e4884040.tar.gz
abaddon-portaudio-c1303bd289013a504b529f8f19444f12e4884040.zip
Merge branch 'master' into voice
Diffstat (limited to 'src/components/chatinput.hpp')
-rw-r--r--src/components/chatinput.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/components/chatinput.hpp b/src/components/chatinput.hpp
index 807f958..bc6a45d 100644
--- a/src/components/chatinput.hpp
+++ b/src/components/chatinput.hpp
@@ -1,5 +1,4 @@
#pragma once
-#include <gtkmm.h>
#include "discord/chatsubmitparams.hpp"
#include "discord/permissions.hpp"
@@ -84,15 +83,18 @@ public:
using type_signal_submit = sigc::signal<bool, Glib::ustring>;
using type_signal_escape = sigc::signal<void>;
using type_signal_image_paste = sigc::signal<void, Glib::RefPtr<Gdk::Pixbuf>>;
+ using type_signal_key_press_proxy = sigc::signal<bool, GdkEventKey *>;
type_signal_submit signal_submit();
type_signal_escape signal_escape();
type_signal_image_paste signal_image_paste();
+ type_signal_key_press_proxy signal_key_press_proxy();
private:
type_signal_submit m_signal_submit;
type_signal_escape m_signal_escape;
type_signal_image_paste m_signal_image_paste;
+ type_signal_key_press_proxy m_signal_key_press_proxy;
};
// file upload, text