core: use new typed signals from hu (#10853)
This commit is contained in:
parent
2f34ef141b
commit
78e9eddfb6
85 changed files with 667 additions and 865 deletions
|
|
@ -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;
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue