From 78e9eddfb6bfbc6b103fc60c9831b23ef252886b Mon Sep 17 00:00:00 2001 From: outfoxxed Date: Tue, 8 Jul 2025 09:56:40 -0700 Subject: core: use new typed signals from hu (#10853) --- src/protocols/InputMethodV2.hpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'src/protocols/InputMethodV2.hpp') diff --git a/src/protocols/InputMethodV2.hpp b/src/protocols/InputMethodV2.hpp index 74efcbb3..4ee579ec 100644 --- a/src/protocols/InputMethodV2.hpp +++ b/src/protocols/InputMethodV2.hpp @@ -18,9 +18,9 @@ class CInputMethodV2 { ~CInputMethodV2(); struct { - CSignal onCommit; - CSignal destroy; - CSignal newPopup; + CSignalT<> onCommit; + CSignalT<> destroy; + CSignalT> newPopup; } m_events; struct SState { @@ -110,10 +110,10 @@ class CInputMethodPopupV2 { SP surface(); struct { - CSignal map; - CSignal unmap; - CSignal commit; - CSignal destroy; + CSignalT<> map; + CSignalT<> unmap; + CSignalT<> commit; + CSignalT<> destroy; } m_events; bool m_mapped = false; @@ -136,7 +136,7 @@ class CInputMethodV2Protocol : public IWaylandProtocol { virtual void bindManager(wl_client* client, void* data, uint32_t ver, uint32_t id); struct { - CSignal newIME; // SP + CSignalT> newIME; } m_events; private: @@ -160,4 +160,4 @@ class CInputMethodV2Protocol : public IWaylandProtocol { namespace PROTO { inline UP ime; -}; \ No newline at end of file +}; -- cgit v1.2.3