mirror of
https://github.com/RGBCube/serenity
synced 2025-05-19 16:05:06 +00:00
LibCore: Prune remaining knowledge about LibGUI.
This commit is contained in:
parent
c736dbdf10
commit
667e678aa6
2 changed files with 16 additions and 15 deletions
|
@ -1,15 +1,16 @@
|
|||
#include <LibCore/CNotifier.h>
|
||||
#include <LibGUI/GEventLoop.h>
|
||||
#include <LibCore/CEventLoop.h>
|
||||
#include <LibCore/CEvent.h>
|
||||
|
||||
CNotifier::CNotifier(int fd, unsigned event_mask)
|
||||
: m_fd(fd)
|
||||
, m_event_mask(event_mask)
|
||||
{
|
||||
GEventLoop::register_notifier(Badge<CNotifier>(), *this);
|
||||
CEventLoop::register_notifier(Badge<CNotifier>(), *this);
|
||||
}
|
||||
|
||||
CNotifier::~CNotifier()
|
||||
{
|
||||
GEventLoop::unregister_notifier(Badge<CNotifier>(), *this);
|
||||
CEventLoop::unregister_notifier(Badge<CNotifier>(), *this);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue