1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 14:28:12 +00:00

LibGUI: Rename GEventLoop::exit() and GApplication::exit() to quit().

These functions don't exit immediately, but rather on the next iteration
of the event loop.

Since exit() is already used by the standard library, let's call it quit()
instead. That way, saying exit() means the same thing here as anywhere else.
This commit is contained in:
Andreas Kling 2019-02-17 09:58:35 +01:00
parent fa13e1977e
commit 4b15dd2bca
9 changed files with 13 additions and 13 deletions

View file

@ -32,7 +32,7 @@ public:
void register_notifier(Badge<GNotifier>, GNotifier&);
void unregister_notifier(Badge<GNotifier>, GNotifier&);
void exit(int);
void quit(int);
bool post_message_to_server(const WSAPI_ClientMessage&);
bool wait_for_specific_event(WSAPI_ServerMessage::Type, WSAPI_ServerMessage&);