Window: add destroy signal
This commit is contained in:
parent
e69bc5b870
commit
e823b5d693
3 changed files with 8 additions and 1 deletions
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
class CSignal {
|
||||
public:
|
||||
void emit(std::any data);
|
||||
void emit(std::any data = {});
|
||||
|
||||
//
|
||||
[[nodiscard("Listener is unregistered when the ptr is lost")]] CHyprSignalListener registerListener(std::function<void(std::any)> handler);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue