core: use new typed signals from hu (#10853)

This commit is contained in:
outfoxxed 2025-07-08 09:56:40 -07:00 committed by GitHub
parent 2f34ef141b
commit 78e9eddfb6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
85 changed files with 667 additions and 865 deletions

View file

@ -18,9 +18,9 @@ class CInputMethodV2 {
~CInputMethodV2();
struct {
CSignal onCommit;
CSignal destroy;
CSignal newPopup;
CSignalT<> onCommit;
CSignalT<> destroy;
CSignalT<SP<CInputMethodPopupV2>> newPopup;
} m_events;
struct SState {
@ -110,10 +110,10 @@ class CInputMethodPopupV2 {
SP<CWLSurfaceResource> 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<CInputMethodV2>
CSignalT<SP<CInputMethodV2>> newIME;
} m_events;
private:
@ -160,4 +160,4 @@ class CInputMethodV2Protocol : public IWaylandProtocol {
namespace PROTO {
inline UP<CInputMethodV2Protocol> ime;
};
};