mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 07:30:19 +00:00
LibCore: Make Core::Object::event() protected
This commit is contained in:
parent
6f45c27d06
commit
d0072aef8b
Notes:
sideshowbarker
2024-07-18 21:00:41 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/d0072aef8b1
1 changed files with 2 additions and 1 deletions
|
@ -73,7 +73,6 @@ public:
|
|||
virtual ~Object();
|
||||
|
||||
virtual const char* class_name() const = 0;
|
||||
virtual void event(Core::Event&);
|
||||
|
||||
const String& name() const { return m_name; }
|
||||
void set_name(const StringView& name) { m_name = name; }
|
||||
|
@ -155,6 +154,8 @@ protected:
|
|||
|
||||
void register_property(const String& name, Function<JsonValue()> getter, Function<bool(const JsonValue&)> setter = nullptr);
|
||||
|
||||
virtual void event(Core::Event&);
|
||||
|
||||
virtual void timer_event(TimerEvent&);
|
||||
virtual void custom_event(CustomEvent&);
|
||||
|
||||
|
|
Loading…
Reference in a new issue