mirror of
https://github.com/RGBCube/serenity
synced 2025-07-05 13:37:35 +00:00
LibGUI: Add a GModelNotification class that views will receive.
I don't want to use GEvent here since these need to be synchronous and mixing sync and async GEvents would be stupid.
This commit is contained in:
parent
322f49caec
commit
bff5b71467
6 changed files with 41 additions and 2 deletions
|
@ -15,6 +15,9 @@ public:
|
|||
|
||||
Function<void(String)> on_status_message;
|
||||
|
||||
protected:
|
||||
virtual void model_notification(const GModelNotification&) override;
|
||||
|
||||
private:
|
||||
virtual void timer_event(GTimerEvent&) override;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue