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

@ -27,11 +27,11 @@ class CTextInputV3 {
wl_client* client();
struct {
CSignal onCommit;
CSignal enable;
CSignal disable;
CSignal reset;
CSignal destroy;
CSignalT<> onCommit;
CSignalT<> enable;
CSignalT<> disable;
CSignalT<> reset;
CSignalT<> destroy;
} m_events;
struct SState {
@ -80,7 +80,7 @@ class CTextInputV3Protocol : public IWaylandProtocol {
virtual void bindManager(wl_client* client, void* data, uint32_t ver, uint32_t id);
struct {
CSignal newTextInput; // WP<CTextInputV3>
CSignalT<WP<CTextInputV3>> newTextInput;
} m_events;
private:
@ -97,4 +97,4 @@ class CTextInputV3Protocol : public IWaylandProtocol {
namespace PROTO {
inline UP<CTextInputV3Protocol> textInputV3;
};
};